@Test
public void httpMethods() throws Exception {

  assertThat(parseAndValidateMetadata(Methods.class, "post").template())
      .hasMethod("POST");
  assertThat(parseAndValidateMetadata(Methods.class, "put").template())
      .hasMethod("PUT");
  assertThat(parseAndValidateMetadata(Methods.class, "get").template())
      .hasMethod("GET");
  assertThat(parseAndValidateMetadata(Methods.class, "delete").template())
      .hasMethod("DELETE");
}