assertTrue(user.hasRole("editor"));
assertTrue(user.hasRole("admin"));
// remove role
mgr.revokeRole("admin",user);
mgr.saveUser(user);
TestUtils.endSession(true);
// check that role was removed
user = null;
user = mgr.getUserByUserName(testUser.getUserName());