private static final FilterFactory2 FF = CommonFactoryFinder.getFilterFactory2(null);
public void testBBOX() throws Exception {
StringBuilder builder = new StringBuilder(URL_LAYER_ASIA);
SFSFilterVisitor visitor = new SFSFilterVisitor(true);
BBOX bbox = FF.bbox("prop0", 0, 0, 10, 10, "EPSG:4326");
visitor.visit(bbox, null);
visitor.finish(builder, false);
assertEquals(URL_LAYER_ASIA + "?bbox=0.0,0.0,10.0,10.0", URLDecoder.decode(builder.toString(),"UTF-8"));
}