public void CreateDistributionWithTagsMarshallTest()
{
var operation = service_model.FindOperation("CreateDistributionWithTags");
var request = InstantiateClassGenerator.Execute<CreateDistributionWithTagsRequest>();
var marshaller = new CreateDistributionWithTagsRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
RequestValidator.Validate("CreateDistributionWithTags", request, internalRequest, service_model);
var webResponse = new WebResponseData
{
Headers = {
{"ETag","ETag_Value"},
{"Location","Location_Value"},
{"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 = CreateDistributionWithTagsResponseUnmarshaller.Instance;
var response = unmarshaller.Unmarshall(context)
as CreateDistributionWithTagsResponse;
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}