예제 #1
0
 private void AssertDiffBetween(Type runtimeClass, Type storedClass, HierarchyAnalyzer.Diff
     [] expectedDiff)
 {
     var classMetadata = ProduceClassMetadata(storedClass);
     var reflectClass = ReflectClass(runtimeClass);
     var ancestors = new HierarchyAnalyzer(classMetadata, reflectClass).Analyze();
     AssertDiff(ancestors, expectedDiff);
 }
예제 #2
0
 private void AssertDiff(IList actual, HierarchyAnalyzer.Diff[] expected)
 {
     Iterator4Assert.AreEqual(Iterators.Iterate(expected), Iterators.Iterator(actual));
 }