*/ class CategoryTest extends UnitTestCase { /** * @var \Meramo\Chatbotui\Domain\Model\Category */ protected $subject; protected function setUp() { parent::setUp(); $this->subject = new \Meramo\Chatbotui\Domain\Model\Category(); } protected function tearDown() { parent::tearDown(); } /** * @test */ public function getCategoryReturnsInitialValueForString() { self::assertSame( '', $this->subject->getCategory() ); } /** * @test */ public function setCategoryForStringSetsCategory() { $this->subject->setCategory('Conceived at T3CON10'); self::assertAttributeEquals( 'Conceived at T3CON10', 'category', $this->subject ); } }