public void DebugDumpReturnsValidJsonResult()
        {
            var obj  = new ObjectWithKnownProperties();
            var json = obj.DebugDump();

            // We just need to check that DumpFormat.Json is used, no need to test if underlying JSON serializer
            // works as expected...
            Assert.IsTrue(json.IsValidJson());
        }
        public void GetPropertiesOfAnObjectShouldReturnCorrectDictionary()
        {
            var obj = new ObjectWithKnownProperties();

            Assert.AreEqual(obj.GetTestPropertiesAsDictionary(), obj.GetProperties());
        }