return "content-type-setting-transformer-configs.xml";
}
public void testReturnType() throws Exception
{
Transformer trans = muleContext.getRegistry().lookupTransformer("testTransformer");
assertNotNull(trans);
String inputMessage = "ABCDEF";
byte[] array = (byte[]) trans.transform(inputMessage);
MuleMessage message = new DefaultMuleMessage(inputMessage, muleContext);
List<Transformer> transformers = Arrays.asList(new Transformer[] {trans});
message.applyTransformers(null, transformers);
assertEquals("text/plain", message.getDataType().getMimeType());