public void Equals_ObjectSelf_ReturnsTrue() { var queryPart = new SkipQueryPart(); object other = queryPart; var actual = queryPart.Equals(other); Assert.That(actual, Is.True); }
public void Equals_ObjectNull_ReturnsFalse() { var queryPart = new SkipQueryPart(); object other = null; var actual = queryPart.Equals(other); Assert.That(actual, Is.False); }
public void Equals_ObjectOfDifferentType_ReturnsFalse() { var queryPart = new SkipQueryPart(); object other = String.Empty; var actual = queryPart.Equals(other); Assert.That(actual, Is.False); }
public void Equals_AnotherDifferentSkipQueryPart_ReturnsFalse() { var queryPart = new SkipQueryPart(); var other = new SkipQueryPart(3); var actual = queryPart.Equals(other); Assert.That(actual, Is.False); }
public void Equals_ObjectAnotherEquivalentSkipQueryPart_ReturnsTrue() { var queryPart = new SkipQueryPart(); object other = new SkipQueryPart(); var actual = queryPart.Equals(other); Assert.That(actual, Is.True); }
public void Equals_Self_ReturnsTrue() { var queryPart = new SkipQueryPart(); var other = queryPart; var actual = queryPart.Equals(other); Assert.That(actual, Is.True); }
public void Equals_SkipQueryPartNull_ReturnsFalse() { var queryPart = new SkipQueryPart(); SkipQueryPart other = null; var actual = queryPart.Equals(other); Assert.That(actual, Is.False); }