public void GetHashCode_AtomDataFormat_ReturnsAtomHashCode() { var queryPart = new FormatQueryPart(ODataFormat.Atom); var expected = ODataFormat.Atom.GetHashCode(); var actual = queryPart.GetHashCode(); Assert.That(actual, Is.EqualTo(expected)); }
public void GetHashCode_XmlDataFormat_ReturnsXmlHashCode() { var queryPart = new FormatQueryPart(ODataFormat.Xml); var expected = ODataFormat.Xml.GetHashCode(); var actual = queryPart.GetHashCode(); Assert.That(actual, Is.EqualTo(expected)); }
public void GetHashCode_JsonDataFormat_ReturnsJsonHashCode() { var queryPart = new FormatQueryPart(ODataFormat.Json); var expected = ODataFormat.Json.GetHashCode(); var actual = queryPart.GetHashCode(); Assert.That(actual, Is.EqualTo(expected)); }