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