assertMockEndpointsSatisfied();
Exchange out = result.getExchanges().get(0);
assertTrue(out instanceof GroupedExchange);
GroupedExchange grouped = (GroupedExchange)out;
assertEquals(5, grouped.size());
assertEquals("100", grouped.get(0).getIn().getBody(String.class));
assertEquals("150", grouped.get(1).getIn().getBody(String.class));
assertEquals("130", grouped.get(2).getIn().getBody(String.class));
assertEquals("200", grouped.get(3).getIn().getBody(String.class));
assertEquals("190", grouped.get(4).getIn().getBody(String.class));
// END SNIPPET: e2
}