Filter funtionFilter = createFunctionFilter();
Filter geomFilter = ff.bbox(geomAtt, 10, 20, 10, 20, "");
Filter andFilter = ff.and(funtionFilter, geomFilter);
andFilter.accept(visitor, null);
assertEquals(funtionFilter.toString(), visitor.getFilterPost().toString());
assertEquals(geomFilter.toString(), visitor.getFilterPre().toString());
simpleLogicalCaps.addName(testFunction.getName(), testFunction.getParameters().size());