Beispiel #1
0
 public void IsJsonValueTypeReturnsTrue()
 {
     Assert.True(FormattingUtilities.IsJTokenType(typeof(JToken)), "Should return true");
     Assert.True(FormattingUtilities.IsJTokenType(typeof(JValue)), "Should return true");
     Assert.True(FormattingUtilities.IsJTokenType(typeof(JObject)), "Should return true");
     Assert.True(FormattingUtilities.IsJTokenType(typeof(JArray)), "Should return true");
 }