.endpoint("https://ultra-api.ultradns.com:8443/UltraDNS_WS/v01")
.addHeader(HOST, "ultra-api.ultradns.com:8443")
.payload(payloadFromResourceWithContentType("/list_records_by_name_and_type.xml", "application/xml")).build();
public void testListByNameAndTypeWhenResponseIs2xx() {
UltraDNSWSApi success = requestSendsResponse(listByNameAndType, listResponse);
assertEquals(success.getResourceRecordApiForZone("jclouds.org.").listByNameAndType("www.jclouds.org.", 1)
.toString(), new GetResourceRecordsOfResourceRecordResponseTest().expected().toString());
assertEquals(
success.getResourceRecordApiForZone("jclouds.org.")
.listByNameAndType("www.jclouds.org.", 1).toString(),
new GetResourceRecordsOfResourceRecordResponseTest().expected().toString());
}