@Test
  void parameterizedHeaderNotStartingWithCurlyBraceExpandApi() throws Exception {
    final List<MethodMetadata> md =
        contract.parseAndValidateMetadata(
            ParameterizedHeaderNotStartingWithCurlyBraceExpandApi.class);

    assertThat(md).hasSize(1);

    assertThat(md.getFirst().configKey())
        .isEqualTo("ParameterizedHeaderNotStartingWithCurlyBraceExpandApi#getZone(String,String)");
    assertThat(md.getFirst().returnType()).isEqualTo(String.class);
    assertThat(md.getFirst().template())
        .hasHeaders(
            entry("Authorization", asList("Bearer {authHdr}")),
            entry("Accept", asList("application/json")));
    // Ensure that the authHdr expansion was properly detected and did not create a
    // formParam
    assertThat(md.getFirst().formParams()).isEmpty();
  }
Body type is only for the body param.
core/src/test/java/feign/DefaultContractTest.java