.on(RequestMethod.GET)
.produces(JSP)
.to(SampleController.class).find(param("color"), param("brand", "Ferrari"));
}
}).acceptHeader(HTML).cookie("brand", "Ferrari").cookie("color", "red");
routeTester.processGetRequest("/cars");
verify(routeTester.<SampleController>getController()).find("red", "Ferrari");
}
@Test
public void testCookieAndPathParameters() throws Exception {