예제 #1
0
 /**
  * Test getter/setter for updated property
  */
 public function testUpdated()
 {
     $this->assertEmpty($this->family->getUpdated());
     // Change value and assert new
     $newUpdated = new \Datetime();
     $this->assertEntity($this->family->setUpdated($newUpdated));
     $this->assertEquals($newUpdated, $this->family->getUpdated());
 }
 /**
  * {@inheritDoc}
  */
 public function getUpdated()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdated', array());
     return parent::getUpdated();
 }