/** * try to delete a group * */ public function testDeleteGroups() { $group = $this->testAddGroup(); $this->_groupLDAP->deleteGroups($group->getId()); $this->setExpectedException('Exception'); $group = $this->_groupLDAP->getGroupById($group->getId()); }
/** * try to delete a group * */ public function testDeleteGroups() { $group = $this->_groupLDAP->getGroupByName($this->objects['updatedGroup']->name); $this->_groupLDAP->deleteGroups($group->getId()); $this->setExpectedException('Exception'); $group = $this->_groupLDAP->getGroupById($group->getId()); }