AWSSDK_DotNet35.UnitTests.Marshalling.ElasticBeanstalkMarshallingTests.RetrieveEnvironmentInfoMarshallTest C# (CSharp) Метод

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

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

            var request = InstantiateClassGenerator.Execute<RetrieveEnvironmentInfoRequest>();
            var marshaller = new RetrieveEnvironmentInfoRequestMarshaller();
            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 = RetrieveEnvironmentInfoResponseUnmarshaller.Instance.Unmarshall(context)
                as RetrieveEnvironmentInfoResponse;   
            InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);       
        }