TestApplicationContext ctx = new TestApplicationContext(
new String[] {S1, S2, S3, s4});
ctx.refresh();
ConfigurerImpl cfg = new ConfigurerImpl(ctx);
EndpointInfo info = getEndpointInfo("bla", "Foo", "http://localhost:9000");
Bus bus = (Bus) ctx.getBean("cxf");
bus.setExtension(cfg, Configurer.class);