@Test
  void spaceEncodingInUrlParam() {
    RequestTemplate template =
        new RequestTemplate()
            .method(HttpMethod.GET) //
            .uri("/api/{value1}?key={value2}");

    template = template.resolve(mapOf("value1", "ABC 123", "value2", "XYZ 123"));

    assertThat(template.request().url()).isEqualTo("/api/ABC%20123?key=XYZ%20123");
  }
This ensures we don't mess up vnd types
core/src/test/java/feign/RequestTemplateTest.java