for(Instance instance : instancesToDelete.get(zone)) {
UserApi userApi = api.getUserApiForInstanceInZone(instance.getId(), zone);
if(!instance.getName().contains("user_trove_live_testing"))continue;
assertTrue(userApi.list().size() >=1);
for(User user : userApi.list()){
User userFromGet = userApi.get(user.getIdentifier());
assertEquals(userFromGet.getName(), user.getName());
assertEquals(userFromGet.getHost(), user.getHost());
assertEquals(userFromGet.getIdentifier(), user.getIdentifier());
assertEquals(userFromGet.getDatabases(), user.getDatabases());
assertEquals(userFromGet, user);
}
}
}
}