MockEndpoint mock = getMockEndpoint("mock:result");
mock.expectedMinimumMessageCount(1);
assertMockEndpointsSatisfied();
Exchange exchange = mock.getExchanges().get(0);
User user = exchange.getIn().getBody(User.class);
assertEquals("Joe Camel", user.getFullName());
assertEquals("jcamel@redhat.com", user.getContact().getEmailAddresses().get(0).getAddress());
}