assertEquals(2, _dao.getNumberOfUserRoles());
assertEquals(0, _dao.getNumberOfUsersWithRole(adminRole));
assertEquals(0, _dao.getNumberOfUsersWithRole(userRole));
User userA = new User();
userA.setCreationTime(new Date());
userA.setProperties(new UserPropertiesV1());
userA.getRoles().add(userRole);
_dao.saveOrUpdateUser(userA);
assertEquals(0, _dao.getNumberOfUsersWithRole(adminRole));
assertEquals(1, _dao.getNumberOfUsersWithRole(userRole));
User userB = new User();
userB.setCreationTime(new Date());
userB.setProperties(new UserPropertiesV1());
userB.getRoles().add(adminRole);
_dao.saveOrUpdateUser(userB);
assertEquals(1, _dao.getNumberOfUsersWithRole(adminRole));
assertEquals(1, _dao.getNumberOfUsersWithRole(userRole));