public void run() {
Exchange exchange = getReceivedExchanges().get(0);
assertTrue("No exchange received for counter: " + 0, exchange != null);
Object actualBody = exchange.getIn().getBody();
Object expectedBody = clause.evaluate(exchange, Object.class);
assertEquals("Body of message: " + 0, expectedBody, actualBody);
}
});