@Test
public void testDivideEncode() throws Exception {
final FilterFactory2 filterFactory2 = CommonFactoryFinder.getFilterFactory2();
final Filter javaFilter = filterFactory2.less(
filterFactory2.divide(filterFactory2.property("population"), filterFactory2.literal(2)),
filterFactory2.divide(filterFactory2.property("pop2000"), filterFactory2.literal(2))
);
Assert.assertEquals("population/2<pop2000/2", ECQL.toCQL(javaFilter).replace(" ", ""));
}