public void ToString_Atom_ReturnsCorrectString() { var formatQueryPart = new FormatQueryPart(ODataFormat.Atom); Assert.That(formatQueryPart.ToString(), Is.EqualTo("$format=atom")); }
public void ToString_Xml_ReturnsCorrectString() { var formatQueryPart = new FormatQueryPart(ODataFormat.Xml); Assert.That(formatQueryPart.ToString(), Is.EqualTo("$format=xml")); }
public void ToString_Json_ReturnsCorrectString() { var formatQueryPart = new FormatQueryPart(ODataFormat.Json); Assert.That(formatQueryPart.ToString(), Is.EqualTo("$format=json")); }
public void ToString_Xml_ReturnsCorrectString() { var formatQueryPart = new FormatQueryPart(ODataFormat.Xml); Assert.That(formatQueryPart.ToString(), Is.EqualTo("$format=xml")); }
public void ToString_Json_ReturnsCorrectString() { var formatQueryPart = new FormatQueryPart(ODataFormat.Json); Assert.That(formatQueryPart.ToString(), Is.EqualTo("$format=json")); }
public void ToString_Atom_ReturnsCorrectString() { var formatQueryPart = new FormatQueryPart(ODataFormat.Atom); Assert.That(formatQueryPart.ToString(), Is.EqualTo("$format=atom")); }