public function testRemoveRoleWithObjectArgument()
 {
     $role = new Role(self::TEST_ROLE);
     $this->group->addRole($role);
     $this->assertTrue($this->group->hasRole($role));
     $this->group->removeRole($role);
     $this->assertFalse($this->group->hasRole($role));
 }
 /**
  * {@inheritDoc}
  */
 public function hasRole($role)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'hasRole', array($role));
     return parent::hasRole($role);
 }