@Test
public void withPathAndURIParams() throws Exception {

  final MethodMetadata md = parseAndValidateMetadata(WithURIParam.class,
      "uriParam", String.class, URI.class, String.class);
  assertThat(md.indexToName()).containsExactly(
      entry(0, asList("1")),
      // Skips 1 as it is a url index!
      entry(2, asList("2")));
  assertThat(md.urlIndex()).isEqualTo(1);
}