@Test
public void supportTypeHttpMethodAnnotation() throws SecurityException, NoSuchMethodException {

	List<Route> routes = parser.rulesFor(new DefaultResourceClass(AnnotatedController.class));
	Route route = getRouteMatching(routes, "/annotated/test");
	assertThat(route.allowedMethods(), is(EnumSet.of(HttpMethod.POST)));
}