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

    assertThat(md.bodyIndex()).isEqualTo(0);
    assertThat(md.bodyType()).isEqualTo(new TypeToken<List<String>>() {}.getType());
  }
Tests interfaces defined per {@link Contract.Default} are interpreted into expected {@link feign
.RequestTemplate template} instances.
core/src/test/java/feign/DefaultContractTest.java