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); }
private void AssertDiff(IList actual, HierarchyAnalyzer.Diff[] expected) { Iterator4Assert.AreEqual(Iterators.Iterate(expected), Iterators.Iterator(actual)); }