public void EqualsReturnsCorrectResult( bool expected, string sutRel, string otherRel, string sutHref, string otherHref) { var sut = new AtomLink(sutRel, new Uri(sutHref, UriKind.Relative)); var other = new AtomLink(otherRel, new Uri(otherHref, UriKind.Relative)); var actual = sut.Equals(other); Assert.Equal(expected, actual); }
public void SutDoesNotEqualAnonymousOther( AtomLink sut, object anonymous) { var actual = sut.Equals(anonymous); Assert.False(actual); }