public void CreateStreamingDistributionWithTagsMarshallTest()
{
var operation = service_model.FindOperation("CreateStreamingDistributionWithTags");
var request = InstantiateClassGenerator.Execute<CreateStreamingDistributionWithTagsRequest>();
var marshaller = new CreateStreamingDistributionWithTagsRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
RequestValidator.Validate("CreateStreamingDistributionWithTags", 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 = CreateStreamingDistributionWithTagsResponseUnmarshaller.Instance;
var response = unmarshaller.Unmarshall(context)
as CreateStreamingDistributionWithTagsResponse;
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}