Ejemplo n.º 1
0
 public function testDoPreUpdate()
 {
     $item = new NavigationItem();
     $item->doPreUpdate();
     $this->assertInstanceOf('DateTime', $item->getUpdatedAt());
 }
 /**
  * {@inheritDoc}
  */
 public function getUpdatedAt()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', array());
     return parent::getUpdatedAt();
 }