@Test
public void manyToOneIdFilter() throws Exception {

	Filter filter = filterService.parseFilter("manyToOneAttr.id=1");
	Iterator<?> it = layer.getElements(filter, 0, 0);
	int t = 0;
	while (it.hasNext()) {
		Assert.assertTrue(it.next() instanceof FeatureBean);
		t++;
	}
	Assert.assertEquals(1, t);
}