*/ class AdditionTest extends \TYPO3\CMS\Core\Tests\UnitTestCase { /** * @var \OliverKlee\Tea\Domain\Model\Addition */ protected $subject = NULL; protected function setUp() { $this->subject = new \OliverKlee\Tea\Domain\Model\Addition(); } /** * @test * @return void */ public function getTitleInitiallyReturnsEmptyString() { self::assertSame( '', $this->subject->getTitle() ); } /** * @test * @return void */ public function setTitleSetsTitle() { $this->subject->setTitle('foo bar'); self::assertSame( 'foo bar', $this->subject->getTitle() ); } }