template.sendBody("direct:unmarshal", "123\tCamel in Action\t2\tPlease hurry\tJane Doe\tJohn Doe\n");
assertMockEndpointsSatisfied();
List<Map> rows = CastUtils.cast(mock.getReceivedExchanges().get(0).getIn().getBody(List.class));
PurchaseOrder order = (PurchaseOrder) rows.get(0).get(PurchaseOrder.class.getName());
assertEquals(123, order.getId());
assertEquals("Camel in Action", order.getName());
assertEquals(2, order.getAmount());
assertEquals("Please hurry", order.getOrderText());
assertEquals("Jane Doe", order.getSalesRef());
assertEquals("John Doe", order.getCustomerRef());
}