env.injectMessage(smc);
assertNotNull(env.lookupProcessor("service-mediator"));
}
public void testAxis2MediagtorConfigurator() throws Exception {
ServiceMediatorProcessorConfigurator conf = new ServiceMediatorProcessorConfigurator();
Processor pro = conf.createProcessor(env,config.getFirstElement().getFirstElement());
assertTrue(pro instanceof ServiceMediatorProcessor);
assertNotNull(pro.getName());
}