// Compress input.
MuleMessage compressedResponse = client.send("vm://compressInput", TEST_DATA, null);
assertNotNull(compressedResponse);
assertTrue(compressedResponse.getPayload() instanceof byte[]);
byte[] bytes = new GZipCompression().uncompressByteArray((byte[]) compressedResponse.getPayload());
String clientUncompressed = new String(bytes, "UTF8");
assertEquals(TEST_DATA, clientUncompressed);
// Decompress response.
MuleMessage uncompressedResponse = client.send("vm://decompressInputString", compressedResponse.getPayload(), null);