}, "ChunkingObjectReceiver");
MuleClient client = new MuleClient(muleContext);
client.dispatch("vm://inbound.object.channel", simpleSerializableObject, null);
// Wait for the message to be received and tested (in the listener above)
assertTrue(chunkingReceiverLatch.await(20L, TimeUnit.SECONDS));
// Ensure we processed expected number of message parts
assertEquals(parts, messagePartsCount.get());
}
protected void doMessageChunking(final String data, int partsCount) throws Exception