public void Equals_ObjectAnotherEquivalentFormatQueryPart_ReturnsTrue() { var queryPart = new FormatQueryPart(ODataFormat.Json); object other = new FormatQueryPart(ODataFormat.Json); var actual = queryPart.Equals(other); Assert.That(actual, Is.True); }
public void Equals_Self_ReturnsTrue() { var queryPart = new FormatQueryPart(ODataFormat.Json); var other = queryPart; var actual = queryPart.Equals(other); Assert.That(actual, Is.True); }
public void Equals_AnotherDifferentFormatQueryPart_ReturnsFalse() { var queryPart = new FormatQueryPart(ODataFormat.Json); var other = new FormatQueryPart(ODataFormat.Xml); var actual = queryPart.Equals(other); Assert.That(actual, Is.False); }
public void Equals_FormatQueryPartNull_ReturnsFalse() { var queryPart = new FormatQueryPart(ODataFormat.Json); FormatQueryPart other = null; var actual = queryPart.Equals(other); Assert.That(actual, Is.False); }
public void Equals_ObjectOfDifferentType_ReturnsFalse() { var queryPart = new FormatQueryPart(ODataFormat.Json); object other = String.Empty; var actual = queryPart.Equals(other); Assert.That(actual, Is.False); }
public void Equals_ObjectOfDifferentType_ReturnsFalse() { var queryPart = new FormatQueryPart(ODataFormat.Json); object other = String.Empty; var actual = queryPart.Equals(other); Assert.That(actual, Is.False); }
public void Equals_ObjectNull_ReturnsFalse() { var queryPart = new FormatQueryPart(ODataFormat.Json); object other = null; var actual = queryPart.Equals(other); Assert.That(actual, Is.False); }
public void Equals_ObjectAnotherEquivalentFormatQueryPart_ReturnsTrue() { var queryPart = new FormatQueryPart(ODataFormat.Json); object other = new FormatQueryPart(ODataFormat.Json); var actual = queryPart.Equals(other); Assert.That(actual, Is.True); }
public void Equals_AnotherDifferentFormatQueryPart_ReturnsFalse() { var queryPart = new FormatQueryPart(ODataFormat.Json); var other = new FormatQueryPart(ODataFormat.Xml); var actual = queryPart.Equals(other); Assert.That(actual, Is.False); }
public void Equals_Self_ReturnsTrue() { var queryPart = new FormatQueryPart(ODataFormat.Json); var other = queryPart; var actual = queryPart.Equals(other); Assert.That(actual, Is.True); }