public void CreateVolumeMarshallTest() { var operation = service_model.FindOperation("CreateVolume"); var request = InstantiateClassGenerator.Execute<CreateVolumeRequest>(); var marshaller = new CreateVolumeRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); validator.Validate(); var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(); UnmarshallerContext context = new EC2UnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, new WebResponseData()); var response = CreateVolumeResponseUnmarshaller.Instance.Unmarshall(context) as CreateVolumeResponse; InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); }