/** * @test * @return void */ public function monthCanBeSet() { $value = 4; $this->instance->setMonth($value); $this->assertEquals($value, $this->instance->getMonth()); }
/** * Test if month can be set * * @test * @return void */ public function monthCanBeSet() { $domainModelInstance = new Tx_News_Domain_Model_Dto_NewsDemand(); $month = '12'; $domainModelInstance->setMonth($month); $this->assertEquals($month, $domainModelInstance->getMonth()); }