@Test
  void bodyParamWithPathParam() throws Exception {
    final MethodMetadata md =
        parseAndValidateMetadata(BodyParams.class, "post", int.class, List.class);

    assertThat(md.bodyIndex()).isEqualTo(1);
    assertThat(md.indexToName()).containsOnly(entry(0, asList("id")));
  }
Tests interfaces defined per {@link Contract.Default} are interpreted into expected {@link feign
.RequestTemplate template} instances.
core/src/test/java/feign/DefaultContractTest.java