assertThat(route, canHandle(EndSlashAnnotatedController.class, "withEmptyPath"));
}
public void addsAPrefixToMethodsWhenTheControllerEndsWithSlashAndTheMethodAreNotAnnotated() throws Exception {
List<Route> routes = parser.rulesFor(new DefaultResourceClass(EndSlashAnnotatedController.class));
Route route = getRouteMatching(routes, "/endSlash/withoutPath");
assertThat(route, canHandle(EndSlashAnnotatedController.class, "withoutPath"));
}