SynapseMessage smc = new Axis2SynapseMessage(msgCtx);
env.injectMessage(smc);
assertNotNull(env.lookupProcessor("mediation"));
}
public void testClassMediatorConfigurator() throws Exception {
ClassMediatorProcessorConfigurator conf = new ClassMediatorProcessorConfigurator();
Processor pro = conf.createProcessor(env, config.getFirstElement().getFirstElement());
assertTrue(pro instanceof ClassMediatorProcessor);
assertEquals("mediation",pro.getName());
}