Exemple #1
0
 public function testDoPrePersist()
 {
     $item = $this->getMock('Oro\\Bundle\\NavigationBundle\\Entity\\NavigationItem');
     $pinbarTab = new PinbarTab();
     $pinbarTab->setItem($item);
     $pinbarTab->doPrePersist();
     $this->assertNull($pinbarTab->getMaximized());
 }
 /**
  * {@inheritDoc}
  */
 public function doPrePersist()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'doPrePersist', array());
     return parent::doPrePersist();
 }