.on(RequestMethod.POST)
.produces(JSP)
.to(SampleController.class).save(param("color", "gray"), param("brand", "Lada"));
}
}).acceptHeader(HTML).param("color", "gray");
routeTester.processPostRequest("/cars");
verify(routeTester.<SampleController>getController()).save("gray", "Lada");
verify(routeTester.jspResponder()).respond(any(), any(RouteContext.class));
}
@Test