transformMediator = new XSLTMediator();
transformMediator.setXsltKey("xslt-key");
MessageContext mc = new TestMessageContext();
mc.setConfiguration(cfg);
mc.setEnvironment(new Axis2SynapseEnvironment(new ConfigurationContext(new AxisConfiguration()), cfg));
mc.setEnvelope(new StAXSOAPModelBuilder(StAXUtils.createXMLStreamReader(new FileInputStream("./../../repository/conf/sample/resources/transform/encoding_test.xml"))).getSOAPEnvelope());
transformMediator.mediate(mc);
OMElement resultElement = mc.getEnvelope().getBody().getFirstElement();