return "test-connector-config.xml";
}
public void testServiceOverrides() throws InterruptedException
{
FileConnector c = (FileConnector) muleContext.getRegistry().lookupConnector("fileConnector2");
assertNotNull(c);
assertNotNull(c.getServiceOverrides());
assertEquals("org.mule.transformer.simple.ByteArrayToSerializable", c.getServiceOverrides().get(
"inbound.transformer"));
assertNotNull(TransformerUtils.firstOrNull(c.getDefaultInboundTransformers(null)));
assertNotNull(TransformerUtils.firstOrNull(c.getDefaultOutboundTransformers(null)));
assertTrue(TransformerUtils.firstOrNull(c.getDefaultInboundTransformers(null)) instanceof ByteArrayToSerializable);
assertTrue(TransformerUtils.firstOrNull(c.getDefaultOutboundTransformers(null)) instanceof SerializableToByteArray);
}