@Test
  void paramIsASubstringOfAQuery() throws Exception {
    final List<MethodMetadata> mds = contract.parseAndValidateMetadata(SubstringQuery.class);

    assertThat(mds.getFirst().template().queries())
        .containsExactly(entry("q", asList("body:{body}")));
    assertThat(mds.getFirst().formParams()).isEmpty(); // Prevent issue 424
  }
Let's help folks not lose time when they mistake request line for a URI!
core/src/test/java/feign/DefaultContractTest.java