mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-10 03:36:12 +01:00

Merge pull request #1 from mostwanted1976/patch-1

[CLEANUP] Add @return void annotation to @test methods.
This commit is contained in:
Oliver Klee 2014-01-01 12:35:57 -08:00
commit de5e6711f6

View file

@ -46,6 +46,7 @@ class TeaTypeTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
/**
* @test
* @return void
*/
public function getTitleInitiallyReturnsEmptyString() {
$this->assertSame(
@ -56,6 +57,7 @@ class TeaTypeTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
/**
* @test
* @return void
*/
public function setTitleSetsTitle() {
$this->subject->setTitle('foo bar');
@ -68,6 +70,7 @@ class TeaTypeTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
/**
* @test
* @return void
*/
public function getCaffeinatedInitiallyReturnsFalse() {
$this->assertSame(
@ -78,6 +81,7 @@ class TeaTypeTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
/**
* @test
* @return void
*/
public function setCaffeinatedSetsCaffeinated() {
$this->subject->setCaffeinated(TRUE);
@ -86,4 +90,4 @@ class TeaTypeTest extends \TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase {
$this->subject->getCaffeinated()
);
}
}
}