public void testGroovyFilterXml() throws Exception {
RoutesType context = new RoutesType();
RouteType route = context.route();
route.from("seda:a");
route.interceptors("interceptor1", "interceptor2");
route.filter(new GroovyExpression("in.headers.any { h -> h.startsWith('foo') }")).
to("seda:b");
route.description("This is a description of the route");
List<ProcessorType<?>> list = route.getOutputs();
assertEquals("Size of list: " + list, 1, list.size());