assertEquals("{\"iso\":\"EN\",\"country\":\"England\"}", out);
}
@Override
protected RouteBuilder createRouteBuilder() throws Exception {
return new RouteBuilder() {
@Override
public void configure() throws Exception {
// configure to use jetty on localhost with the given port
// and enable auto binding mode
restConfiguration().component("jetty").host("localhost").port(getPort()).bindingMode(RestBindingMode.auto);