*
*/
public class ClassMediatorProcessorTest extends TestCase {
public void testClassMediatorProcessor() throws Exception {
SynapseMessage sm = new Axis2SynapseMessage(
Axis2EnvSetup.axis2Deployment("target/synapse-repository"));
ClassMediatorProcessor pro = new ClassMediatorProcessor();
pro.setClazz(Class.forName("org.apache.synapse.mediators.LoggerTestSample"));
boolean result = pro.process(null,sm);
assertTrue(result);