AWSSDK_DotNet35.UnitTests.Marshalling.ElastiCacheMarshallingTests.DescribeCacheSubnetGroupsMarshallTest C# (CSharp) Метод

DescribeCacheSubnetGroupsMarshallTest() приватный Метод

private DescribeCacheSubnetGroupsMarshallTest ( ) : void
Результат void
        public void DescribeCacheSubnetGroupsMarshallTest()
        {
            var operation = service_model.FindOperation("DescribeCacheSubnetGroups");

            var request = InstantiateClassGenerator.Execute<DescribeCacheSubnetGroupsRequest>();
            var marshaller = new DescribeCacheSubnetGroupsRequestMarshaller();
            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 = DescribeCacheSubnetGroupsResponseUnmarshaller.Instance.Unmarshall(context)
                as DescribeCacheSubnetGroupsResponse;   
            InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);       
        }