/** * 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()); }
/** * {@inheritDoc} */ public function getAttributeIds() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getAttributeIds', array()); return parent::getAttributeIds(); }