/**
  * @Then /^I should verify that the user "([^"]*)" has a role of "([^"]*)" in the group "([^"]*)"$/
  */
 public function iShouldVerifyThatTheUserHasRole($name, $role, $group)
 {
     $user_has_role = FeatureHelp::checkUserRoleInGroup($name, $role, $group);
     if ($user_has_role == 0) {
         throw new Exception("The user {$name} is not a member in the group {$group}");
     } elseif ($user_has_role == 1) {
         throw new Exception("The user {$name} doesn't have the role {$role} in the group {$group}");
     }
 }