public void TypeEqualityIsRespected() { var parent = new Parent().GetChangeType(); var child = new Child().GetChangeType(); Assert.IsTrue(parent.IsA(typeof(Parent))); Assert.IsTrue(child.IsA(typeof(Child))); }
public void InheritanceIsRespected() { var parent = new Parent().GetChangeType(); var child = new Child().GetChangeType(); Assert.IsFalse(parent.IsA(typeof(Child))); Assert.IsTrue(child.IsA(typeof(Parent))); }