public void JsonLiteralTypesAreFormatted(object value, string expectedJson)
        {
            var formatter = new JsonLiteralValueFormatter();

            Assert.Equal(expectedJson, formatter.Format(value));
        }
Esempio n. 2
0
 public void JsonLiteralTypesAreFormatted(object value, string expectedJson)
 {
     var formatter = new JsonLiteralValueFormatter();
     Assert.Equal(expectedJson, formatter.Format(value));
 }