//TODO PLG - ES - fix this issue, the response must have an exception since there was a failire in the flow. It seems that response chain was not executed
/*assertThat(response, IsNull.<Object>notNullValue());
assertThat(response.getPayload(),IsInstanceOf.instanceOf(NullPayload.class));
assertThat(response.getExceptionPayload(), IsNull.<Object>notNullValue());
assertThat(response.getExceptionPayload(), IsInstanceOf.instanceOf(DefaultExceptionPayload.class));*/
assertThat(muleClient.request("vm://out5", TINY_TIMEOUT), IsNull.<Object>nullValue());
if (!outboundComponentLatch.await(TINY_TIMEOUT, TimeUnit.MILLISECONDS))
{
fail("outbound component not reached");
}
//TODO PLG - ES - fix this issue. dead letter queue component is not reached