/**
  * {@inheritDoc}
  */
 public function setId($id)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'setId', array($id));
     return parent::setId($id);
 }
 /**
  * Test getter for attribute ids
  */
 public function testGetAttributeIds()
 {
     $expectedIds = array(1, 4, 6);
     foreach ($expectedIds as $id) {
         $attribute = new Attribute();
         $attribute->setId($id);
         $this->group->addAttribute($attribute);
     }
     $this->assertEquals($expectedIds, $this->group->getAttributeIds());
 }