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

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

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

            var request = InstantiateClassGenerator.Execute<GetSMSAttributesRequest>();
            var marshaller = new GetSMSAttributesRequestMarshaller();
            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 = GetSMSAttributesResponseUnmarshaller.Instance.Unmarshall(context)
                as GetSMSAttributesResponse;   
            InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);       
        }