public void SutDoesNotEqualAnonymousObject(object other) { var sut = new PropertyInfoElement(TypeWithProperties.Property); var actual = sut.Equals(other); Assert.False(actual); }
public void SutEqualsOtherIdenticalInstance() { var pi = TypeWithProperties.Property; var sut = new PropertyInfoElement(pi); var other = new PropertyInfoElement(pi); var actual = sut.Equals(other); Assert.True(actual); }
public void SutDoesNotEqualDifferentInstanceOfSameType() { var sut = new PropertyInfoElement(TypeWithProperties.Property); var otherProperty = TypeWithProperties.OtherProperty; var other = new PropertyInfoElement(otherProperty); var actual = sut.Equals(other); Assert.False(actual); }
public void SutDoesNotEqualDifferentInstanceOfSameType() { var sut = new PropertyInfoElement(TypeWithProperty.Property); var otherProperty = TypeWithProperty.OtherProperty; var other = new PropertyInfoElement(otherProperty); var actual = sut.Equals(other); Assert.False(actual); }
public void SutDoesNotEqualAnonymousObject(object other) { var sut = new PropertyInfoElement(TypeWithProperty.Property); var actual = sut.Equals(other); Assert.False(actual); }