@Test
public void addsAPrefixToMethodsWhenTheControllerEndsWithSlashAndTheMethodAreAnnotatedWithAbsolutePath() throws Exception {

	List<Route> routes = parser.rulesFor(new DefaultResourceClass(EndSlashAnnotatedController.class));
	Route route = getRouteMatching(routes, "/endSlash/absolutePath");
	assertThat(route, canHandle(EndSlashAnnotatedController.class, "withAbsolutePath"));
}