public void CanConvertSimpleObjectToJson() { var simple = new SimpleObject { Count = 42 }; var json = simple.ToJson(); Assert.Equal("{\"Count\":42}", json); }