Dev2.Tests.Runtime.ServiceModel.WebServicesTest.OuputDescriptionWhereRequestResponseJSONExpectValidOutputDescription C# (CSharp) Method

OuputDescriptionWhereRequestResponseJSONExpectValidOutputDescription() private method

        public void OuputDescriptionWhereRequestResponseJSONExpectValidOutputDescription()
        {
            //------------Setup for test--------------------------
            var service = CreateDummyWebService();
            service.RequestResponse = "{\"created_at\":\"Mon Jul 16 21:09:33 +0000 2012\",\"id\":224974074361806848,\"id_str\":\"224974074361806848\",\"text\":\"It works! Many thanks @NeoCat\",\"source\":\"web\",\"truncated\":false," +
                "\"in_reply_to_status_id\":null,\"in_reply_to_status_id_str\":null,\"in_reply_to_user_id\":null,\"in_reply_to_user_id_str\":null,\"in_reply_to_screen_name\":null,\"user\":{\"id\":634794199,\"id_str\":\"634794199\"},\"geo\":null,\"coordinates\":null," +
                "\"place\":null,\"contributors\":null,\"retweet_count\":0,\"favorite_count\":0,\"favorited\":false,\"retweeted\":false,\"lang\":\"en\"}";
            //------------Execute Test---------------------------
            var outputDescription = service.GetOutputDescription();
            //------------Assert Results-------------------------
            Assert.IsNotNull(outputDescription);
            Assert.AreEqual(22, outputDescription.DataSourceShapes[0].Paths.Count);

        }
WebServicesTest