public void ApplySecurityGroupsToLoadBalancerMarshallTest() { var operation = service_model.FindOperation("ApplySecurityGroupsToLoadBalancer"); var request = InstantiateClassGenerator.Execute<ApplySecurityGroupsToLoadBalancerRequest>(); var marshaller = new ApplySecurityGroupsToLoadBalancerRequestMarshaller(); 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(); var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null); var response = ApplySecurityGroupsToLoadBalancerResponseUnmarshaller.Instance.Unmarshall(context) as ApplySecurityGroupsToLoadBalancerResponse; InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); }
public void ApplySecurityGroupsToLoadBalancerMarshallTest() { var operation = service_model.FindOperation("ApplySecurityGroupsToLoadBalancer"); var request = InstantiateClassGenerator.Execute <ApplySecurityGroupsToLoadBalancerRequest>(); var marshaller = new ApplySecurityGroupsToLoadBalancerRequestMarshaller(); 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(); var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null); var response = ApplySecurityGroupsToLoadBalancerResponseUnmarshaller.Instance.Unmarshall(context) as ApplySecurityGroupsToLoadBalancerResponse; InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); }