public void testParamPathAndHttpMethodController() {
Set<Class<?>> controllerClasses = new HashSet<Class<?>>();
controllerClasses.add(TestParamPathAndHttpMethodController.class);
FakeRouteMap rm = new FakeRouteMap();
ControllerDatabase db = new MappedControllerDatabase(controllerClasses, rm,
new HashMap<String, EntityMarshaller>());
assertEquals(TestParamPathAndHttpMethodController.class, db.getControllerClass("param-and-http"));
assertEquals(2, rm.size());
assertTrue(rm.contains(new MojaveRoute("param-and-http", null, "client/all")));
assertTrue(rm.contains(new MojaveRoute("param-and-http", null, "client/:id")));
}