public void ListHostedZonesByNameMarshallTest()
{
var operation = service_model.FindOperation("ListHostedZonesByName");
var request = InstantiateClassGenerator.Execute<ListHostedZonesByNameRequest>();
var marshaller = new ListHostedZonesByNameRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
RequestValidator.Validate("ListHostedZonesByName", request, internalRequest, service_model);
var webResponse = new WebResponseData
{
Headers = {
{"x-amzn-RequestId", Guid.NewGuid().ToString()},
{"x-amz-crc32","0"}
}
};
var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute();
var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, webResponse);
ResponseUnmarshaller unmarshaller = ListHostedZonesByNameResponseUnmarshaller.Instance;
var response = unmarshaller.Unmarshall(context)
as ListHostedZonesByNameResponse;
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}