Bugsense.WPF.tests.Given_Exception_is_thrown.GetSentJson C# (CSharp) 메소드

GetSentJson() 개인적인 메소드

private GetSentJson ( ) : Newtonsoft.Json.Linq.JObject
리턴 Newtonsoft.Json.Linq.JObject
        private JObject GetSentJson()
        {
            var bugsenseRequest = _webRequestCreator.GetActualRequest(_uri);
            Assert.IsTrue(bugsenseRequest.StartsWith("data="), "Expected request to start with 'data='");
            var jsonString = Uri.UnescapeDataString(bugsenseRequest.Substring("data=".Length));
            return JObject.Parse(jsonString);
        }
    }