public void ShouldBeEqualOperatorForString()
        {
            ODataUriParser parser = GetParser("/Enterprises?$filter=CorporateName%20eq%20%27Diego%27");

            IQueryResolver resolver = new BinaryOperatorResolver(parser.ParseFilter().Expression as BinaryOperatorNode);

            resolver.Resolve().Should().Be("WHERE CorporateName LIKE 'Diego'");
        }
        public void ShouldBeLessThanOperatorForInt()
        {
            ODataUriParser parser = GetParser("/Enterprises?$filter=MonitoredPrinters%20lt%20135");

            IQueryResolver resolver = new BinaryOperatorResolver(parser.ParseFilter().Expression as BinaryOperatorNode);

            resolver.Resolve().Should().Be("WHERE MonitoredPrinters < 135");
        }
        public void ShouldBeEqualOperatorEmpty()
        {
            IQueryResolver resolver = new BinaryOperatorResolver(null);

            resolver.Resolve().Should().BeEmpty();
        }