MuleMessage message = client.send(String.format("http://localhost:%d/RemoteService", httpPort2.getNumber()), SerializationUtils.serialize(payload), null);
assertNotNull(message);
ByteArrayToSerializable bas = new ByteArrayToSerializable();
bas.setMuleContext(muleContext);
assertNotNull(message.getPayload());
Object result = bas.transform(message.getPayload());
assertEquals(payload, result);
}
@Test
public void testBinaryWithBridge() throws Exception