@Test
public void testVisitBefore() throws GeomajasException {

	Filter f = filterService.parseFilter("myDate BEFORE 2006-11-30T01:30:00Z");
	Criterion c = (Criterion) (new CriteriaVisitor((HibernateFeatureModel) layer.getFeatureModel(),
			DateFormat.getDateTimeInstance()).visit((org.opengis.filter.temporal.Before) f, null));
	Date date = ISODateTimeFormat.dateTimeNoMillis().parseDateTime("2006-11-30T01:30:00Z").toDate();
	Assert.assertEquals("myDate<" + date, c.toString());
}