Example #1
0
        public void Should_convert_properties()
        {
            var source = FilterBuilder.Eq("root.child", 1);
            var result = PascalCasePathConverter.Transform(source);

            Assert.Equal("Root.Child == 1", result.ToString());
        }
Example #2
0
        public void Should_convert_property()
        {
            var source = FilterBuilder.Eq("property", 1);
            var result = PascalCasePathConverter.Transform(source);

            Assert.Equal("Property == 1", result.ToString());
        }