@Test
public void consumesAddsContentTypeHeader() throws Exception {

  final MethodMetadata md = parseAndValidateMetadata(ProducesAndConsumes.class, "consumes");
  /* multiple @Consumes annotations are additive */
  assertThat(md.template())
      .hasHeaders(
          entry("Content-Type", asList("application/xml")),
          entry("Accept", asList("text/html")));
}