encoder.encode(equals);
assertEquals("WHERE attribute = 'A''A'", output.toString());
}
public void testNumberEscapes() throws Exception {
Add a = filterFac.add(filterFac.property("testAttr"), filterFac.literal(5));
PropertyIsEqualTo equal = filterFac.equal(filterFac.property("testAttr"), a, false);
StringWriter output = new StringWriter();
FilterToSQL encoder = new FilterToSQL(output);
// this test must pass even when the target feature type is not known
// encoder.setFeatureType(integerFType);