assertMockEndpointsSatisfied();
Map<?, ?> map1 = (Map<?, ?>) mock.getReceivedExchanges().get(0).getIn().getBody(List.class).get(0);
Map<?, ?> map2 = (Map<?, ?>) mock.getReceivedExchanges().get(0).getIn().getBody(List.class).get(1);
MyData rec1 = (MyData) map1.values().iterator().next();
MyData rec2 = (MyData) map2.values().iterator().next();
assertEquals("COL1", rec1.getCol1());
assertEquals("COL2", rec1.getCol2());
assertEquals("COL3", rec1.getCol3());
assertEquals("HAPPY ", rec2.getCol1());
assertEquals(" NEW ", rec2.getCol2());
assertEquals(" YEAR", rec2.getCol3());
}