/**
  * {@inheritDoc}
  */
 public function setSortOrder($sortOrder)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSortOrder', array($sortOrder));
     return parent::setSortOrder($sortOrder);
 }
 /**
  * Test getter for max attribute sort order
  */
 public function testGetMaxAttributeSortOrder()
 {
     $max = 5;
     for ($i = 1; $i <= $max; $i++) {
         $attribute = new Attribute();
         $attribute->setSortOrder($i);
         $this->group->addAttribute($attribute);
     }
     $this->assertEquals($this->group->getMaxAttributeSortOrder(), $max);
 }