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

FetchRecordsetWhereRequestResponseJSONExpectValidOutputDescription() private method

        public void FetchRecordsetWhereRequestResponseJSONExpectValidOutputDescription()
        {
            //------------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---------------------------
            WebServices services = new WebServices();
            var result = services.FetchRecordset(service, true);
            //------------Assert Results-------------------------
            // BUG 9626 - 2013.06.11 - TWR: RecordsetListHelper.ToRecordsetList returns correct number of recordsets now
            Assert.AreEqual(1, result.Count);
        }
WebServicesTest