protected void AssertObjRefEquals(ObjRef expected, ObjRef actual) { Assert.AssertNotNull(expected); Assert.AssertTrue(expected.Equals(actual)); Assert.AssertEquals(expected.RealType, actual.RealType, "Wrong RealType"); Assert.AssertEquals(expected.IdNameIndex, actual.IdNameIndex, "Wrong IdNameIndex"); Assert.AssertEquals(expected.Id, actual.Id, "Wrong Id"); Assert.AssertEquals(expected.Version, actual.Version, "Wrong Version"); }