UserApi api = requestsSendResponses(
keystoneAuthWithUsernameAndPasswordAndTenantName, responseWithKeystoneAccess,
authenticatedGET().endpoint(endpoint + "/v2.0/users").build(),
HttpResponse.builder().statusCode(200).payload(payloadFromResourceWithContentType("/user_list.json", APPLICATION_JSON)).build())
.getUserApi().get();
PaginatedCollection<? extends User> users = api.list(new PaginationOptions());
assertNotNull(users);
assertFalse(users.isEmpty());
assertEquals(users.toSet(), expectedUsers);