HttpResponse getResponse = HttpResponse.builder().statusCode(200)
.payload(payloadFromResourceWithContentType("/hostedservice_details.xml", "application")).build();
AzureManagementApi apiWhenExist = requestSendsResponse(getDetails, getResponse);
assertEquals(apiWhenExist.getHostedServiceApi().getDetails(SERVICE_NAME).toString(), new GetHostedServiceDetailsTest().expected().toString());
}