@Test
public void consumesMultipleAddsContentTypeHeader() throws Exception {

  final MethodMetadata md =
      parseAndValidateMetadata(ProducesAndConsumes.class, "consumesMultiple");
  assertThat(md.template())
      .hasHeaders(entry("Content-Type", asList("application/xml")),
          entry("Accept", Collections.singletonList("text/html")));
}