@Test
  void tooManyBodies() throws Exception {
    Throwable exception =
        assertThrows(
            IllegalStateException.class,
            () -> parseAndValidateMetadata(BodyParams.class, "tooMany", List.class, List.class));
    assertThat(exception.getMessage()).contains("Method has too many Body");
  }
Tests interfaces defined per {@link Contract.Default} are interpreted into expected {@link feign
.RequestTemplate template} instances.
core/src/test/java/feign/DefaultContractTest.java