@Test
public void producesMultipleAddsAcceptHeader() throws Exception {

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