.endpoint("https://management.core.windows.net/" + subscriptionId + "/services/hostedservices/" + SERVICE_NAME + "?embed-detail=true")
.addHeader("x-ms-version", "2012-03-01")
.addHeader("Accept", "application/xml").build();
public void testGetDetailsWhenResponseIs2xx() throws Exception {
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());