api.setGateKeeper(mockGateKeeper);
//2. add a role and ensure it is present
User user = UserServiceFactory.getUserService().getCurrentUser();
String role = "testdummy_" + UUID.randomUUID();
APIResponse resp = api.addRole(role, user);
assertTrue(resp.statusCode == Status.SUCCESS);
List<RoleProp> roles = (List<RoleProp>) api.getAllRoles().object;
assertTrue("added role should be present",