@Test
@Ignore("MULE-6926: Flaky Test")
public void testResponseTransformer() throws Exception
{
UdpClient client = null;
try
{
client = new UdpClient(dynamicPort.getNumber());
byte[] response = client.send(TEST_MESSAGE);
String expected = TEST_MESSAGE + " In Out Out2";
String result = new String(response).trim();
assertEquals(expected, result);
}
finally
{
if (client != null)
{
client.shutdown();
}
}
}