SecurityAPI api = new SecurityAPI();
TreeSet<String> allPrivileges = (TreeSet<String>) api.getAllPrivileges().object;
assertTrue(allPrivileges.size() == 0);
@SuppressWarnings("unused")
APIResponse response = api.addPrivilege("abc", helper.loginAsSuperUser());
response = api.addPrivilege("xyz", helper.loginAsSuperUser());
response = api.addPrivilege("ishaprivilege", helper.loginAsSuperUser());
allPrivileges = (TreeSet<String>) api.getAllPrivileges().object;