assertThat(route, canHandle(ClientsController.class, "add"));
}
@Test
public void shouldFindSeveralPathsForMethodWithManyValue() throws Exception {
List<Route> routes = parser.rulesFor(new DefaultBeanClass(ClientsController.class));
Route route = getRouteMatching(routes, "/path1");
assertThat(route, canHandle(ClientsController.class, "manyPaths"));
Route route2 = getRouteMatching(routes, "/path2");
assertThat(route2, canHandle(ClientsController.class, "manyPaths"));