protected override void AssertValues(IExtObjectContainer objectContainer, object[] values) { Assert.AreEqual(1, values.Length); PlainObjectUpdateTestCase.Item item = (PlainObjectUpdateTestCase.Item)values[0]; Assert.IsNotNull(item); Assert.IsNotNull(item._typed); Assert.AreSame(item._typed, item._untyped); }
public override bool Equals(object obj) { if (this == obj) { return(true); } if (obj == null) { return(false); } if (GetType() != obj.GetType()) { return(false); } PlainObjectUpdateTestCase.Item other = (PlainObjectUpdateTestCase.Item)obj; return(Check.ObjectsAreEqual(_typed, other._typed) && Check.ObjectsAreEqual(_untyped , other._untyped)); }