/**
  * {@inheritDoc}
  */
 public function removeAttribute(\Pim\Bundle\CatalogBundle\Model\AttributeInterface $attribute)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeAttribute', array($attribute));
     return parent::removeAttribute($attribute);
 }
Ejemplo n.º 2
0
 /**
  * @expectedException InvalidArgumentException
  */
 public function testRemoveIdentifierAttribute()
 {
     $attribute = $this->getAttributeMock('pim_catalog_identifier');
     $this->family->removeAttribute($attribute);
 }