AWSSDK_DotNet35.UnitTests.Marshalling.ElastiCacheMarshallingTests.CreateCacheParameterGroupMarshallTest C# (CSharp) Method

CreateCacheParameterGroupMarshallTest() private method

private CreateCacheParameterGroupMarshallTest ( ) : void
return void
        public void CreateCacheParameterGroupMarshallTest()
        {
            var operation = service_model.FindOperation("CreateCacheParameterGroup");

            var request = InstantiateClassGenerator.Execute<CreateCacheParameterGroupRequest>();
            var marshaller = new CreateCacheParameterGroupRequestMarshaller();
            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 = CreateCacheParameterGroupResponseUnmarshaller.Instance.Unmarshall(context)
                as CreateCacheParameterGroupResponse;   
            InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);       
        }