예제 #1
0
        public void GetError()
        {
            var currentError = "This isnot good";

            var result = _json.GetError(currentError);

            var expected = JObject.Parse(@"{'Succeed':false,
                                              'Error':'This isnot good'}");

            Assert.Equal(expected.ToString(), result.ToString());
        }