public void testAddressingProcessor() throws Exception {
SynapseMessage sm = new Axis2SynapseMessage(
Axis2EnvSetup.axis2Deployment("target/synapse-repository"));
Processor addressingProcessor = new AddressingInProcessor();
SynapseEnvironment env = new Axis2SynapseEnvironment(null,null);
boolean result = addressingProcessor.process(env,sm);
assertTrue(((Boolean) sm.getProperty(
Constants.MEDIATOR_RESPONSE_PROPERTY)).booleanValue());
assertTrue(result);
}