Exemplo n.º 1
0
 // Analysis disable once InconsistentNaming
 public void dumping_class_with_object_based_collections_produces_valid_json()
 {
     using (var lc = new LogConfigurator(FixtureName))
     {
         var a = AllObjectCollectionsSequenceGenerator.Sequence().GetEnumerator().Current;
         Assert.That(ValidateJson(AllObjectCollectionsDumper.Dump(a)), Is.True);
     }
 }
 // Analysis disable once InconsistentNaming
 public void DumpingClassWithObjectBasedCollectionsProducesValidJson()
 {
     using (var lc = new LogConfigurator(FixtureName))
     {
         var a = AllObjectCollectionsSequenceGenerator.Sequence().GetEnumerator().Current;
         Assert.That(ValidateJson(AllObjectCollectionsDumper.Dump(a)), Is.True);
     }
 }