@Test
  void missingMethod() throws Exception {
    Throwable exception =
        assertThrows(
            IllegalStateException.class,
            () -> contract.parseAndValidateMetadata(MissingMethod.class));
    assertThat(exception.getMessage())
        .contains(
            "RequestLine annotation didn't start with an HTTP verb on method"
                + " MissingMethod#updateSharing");
  }
Let's help folks not lose time when they mistake request line for a URI!
core/src/test/java/feign/DefaultContractTest.java