EndpointBuilder epb = muleContext.getRegistry().lookupEndpointBuilder("test.ep2");
InboundEndpoint ep = epb.buildInboundEndpoint();
assertNotNull(ep.getFilter());
assertTrue(ep.getFilter() instanceof JaxenFilter);
JaxenFilter filter = (JaxenFilter)ep.getFilter();
assertEquals("/car:foo/car:bar", filter.getPattern());
assertEquals(6, filter.getNamespaces().size());
assertEquals("http://car.com", filter.getNamespaces().get("car"));
}