assertThat(route.allowedMethods(), is(EnumSet.of(HttpMethod.POST)));
}
@Test
public void supportOverrideTypeHttpMethodAnnotation() throws SecurityException, NoSuchMethodException {
List<Route> routes = parser.rulesFor(new DefaultBeanClass(AnnotatedController.class));
Route route = getRouteMatching(routes, "/annotated/overridden");
assertThat(route.allowedMethods(), is(EnumSet.of(HttpMethod.GET)));
}