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