예제 #1
0
        public void ToString_Atom_ReturnsCorrectString()
        {
            var formatQueryPart = new FormatQueryPart(ODataFormat.Atom);

            Assert.That(formatQueryPart.ToString(), Is.EqualTo("$format=atom"));
        }
예제 #2
0
        public void ToString_Xml_ReturnsCorrectString()
        {
            var formatQueryPart = new FormatQueryPart(ODataFormat.Xml);

            Assert.That(formatQueryPart.ToString(), Is.EqualTo("$format=xml"));
        }
예제 #3
0
        public void ToString_Json_ReturnsCorrectString()
        {
            var formatQueryPart = new FormatQueryPart(ODataFormat.Json);

            Assert.That(formatQueryPart.ToString(), Is.EqualTo("$format=json"));
        }
예제 #4
0
        public void ToString_Xml_ReturnsCorrectString()
        {
            var formatQueryPart = new FormatQueryPart(ODataFormat.Xml);

            Assert.That(formatQueryPart.ToString(), Is.EqualTo("$format=xml"));
        }
예제 #5
0
        public void ToString_Json_ReturnsCorrectString()
        {
            var formatQueryPart = new FormatQueryPart(ODataFormat.Json);

            Assert.That(formatQueryPart.ToString(), Is.EqualTo("$format=json"));
        }
예제 #6
0
        public void ToString_Atom_ReturnsCorrectString()
        {
            var formatQueryPart = new FormatQueryPart(ODataFormat.Atom);

            Assert.That(formatQueryPart.ToString(), Is.EqualTo("$format=atom"));
        }