/** * @test * @return void */ public function offsetCanBeSet() { $value = 20; $this->instance->setOffset($value); $this->assertEquals($value, $this->instance->getOffset()); }
/** * Test if offset can be set * * @test * @return void */ public function offsetCanBeSet() { $domainModelInstance = new Tx_News_Domain_Model_Dto_NewsDemand(); $offset = 10; $domainModelInstance->setOffset($offset); $this->assertEquals($offset, $domainModelInstance->getOffset()); }