/** * Test getter/setter for value property */ public function testGetSetValue() { $value = new ProductValue(); $this->assertNull($this->price->getValue()); $this->assertEntity($this->price->setValue($value)); $this->assertInstanceOf('Pim\\Bundle\\CatalogBundle\\Model\\ProductValue', $this->price->getValue()); }
/** * {@inheritDoc} */ public function setValue(\Pim\Bundle\CatalogBundle\Model\ProductValueInterface $value) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setValue', array($value)); return parent::setValue($value); }