Code example for TimeUnit

Methods: sleep

0
	public void testConfigLoads() throws Exception { 
		MuleMessage result = muleClient.send("http://127.0.0.1:8081/inbound", null, null);
		assertThat(result, is(notNullValue()));
        assertThat(result.getPayload(), is(notNullValue()));
        // Let the business logic finish 
        TimeUnit.SECONDS.sleep(3);
	} 
 
}