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

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

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

            var request = InstantiateClassGenerator.Execute<ListPlatformApplicationsRequest>();
            var marshaller = new ListPlatformApplicationsRequestMarshaller();
            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 = ListPlatformApplicationsResponseUnmarshaller.Instance.Unmarshall(context)
                as ListPlatformApplicationsResponse;   
            InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);       
        }