Assert.assertEquals(4, t);
}
@Test
public void compareFilterOnBoolean() throws LayerException {
Filter eq = filterService.createCompareFilter(PARAM_BOOLEAN_ATTR, "==", "true");
Iterator<?> it = layer.getElements(eq, 0, 0);
int t = 0;
while (it.hasNext()) {
it.next();
t++;
}
Assert.assertEquals(4, t);
Filter ne = filterService.createCompareFilter(PARAM_BOOLEAN_ATTR, "<>", "true");
it = layer.getElements(ne, 0, 0);
t = 0;
while (it.hasNext()) {
it.next();