AWSSDK_DotNet35.UnitTests.Marshalling.SimpleNotificationServiceMarshallingTests.ListEndpointsByPlatformApplicationMarshallTest C# (CSharp) Метод

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

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

            var request = InstantiateClassGenerator.Execute<ListEndpointsByPlatformApplicationRequest>();
            var marshaller = new ListEndpointsByPlatformApplicationRequestMarshaller();
            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 = ListEndpointsByPlatformApplicationResponseUnmarshaller.Instance.Unmarshall(context)
                as ListEndpointsByPlatformApplicationResponse;   
            InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);       
        }