public void CompareUnequalValuesCorrecltyUsingEquals() { var a = new EntityStub(1); var b = new EntityStub(2); var result = a.Equals(b); Assert.False(result); }
public void CompareValueToNullCorrectlyUsingEquals() { var a = new EntityStub(1); EntityStub b = null; var result = a.Equals(b); Assert.False(result); }
public void CompareReferenceValuesCorrectlyUsingEquals() { var a = new EntityStub(1); var b = a; var result = a.Equals(b); Assert.True(result); }