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