HttpResponse listServersResponse = HttpResponse.builder().statusCode(404).build();
ComputeService apiWhenNoServersExist = requestsSendResponses(keystoneAuthWithUsernameAndPasswordAndTenantName,
responseWithKeystoneAccess, listServers, listServersResponse);
assertTrue(apiWhenNoServersExist.listNodes().isEmpty());
}
HttpRequest list = HttpRequest
.builder()
.method("GET")