AWSSDK_DotNet35.UnitTests.Marshalling.RDSMarshallingTests.ModifyDBSnapshotAttributeMarshallTest C# (CSharp) Метод

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

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

            var request = InstantiateClassGenerator.Execute<ModifyDBSnapshotAttributeRequest>();
            var marshaller = new ModifyDBSnapshotAttributeRequestMarshaller();
            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 = ModifyDBSnapshotAttributeResponseUnmarshaller.Instance.Unmarshall(context)
                as ModifyDBSnapshotAttributeResponse;   
            InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);       
        }
RDSMarshallingTests