use of com.microsoft.applicationinsights.smoketest.schemav2.Domain in project camel-quarkus by apache.
the class OpenstackKeystoneDomainResource method getShouldSucceed.
@Path("/getShouldSucceed")
@POST
public void getShouldSucceed() {
LOG.debug("Calling OpenstackKeystoneDomainResource.getShouldSucceed()");
String uri = String.format(URI_FORMAT, OpenstackConstants.GET);
Domain out = template.requestBodyAndHeader(uri, null, OpenstackConstants.ID, DOMAIN_ID, Domain.class);
assertNotNull(out);
assertEquals(DOMAIN_NAME, out.getName());
assertEquals(DOMAIN_ID, out.getId());
assertEquals(DOMAIN_DESCRIPTION, out.getDescription());
assertFalse(out.isEnabled());
}
Aggregations