public static UriTemplate create(String template, Charset charset) {
    return new UriTemplate(template, true, charset);
  }
@Test
  void encodeReserved() {
    String template = "/get?url={url}";
    UriTemplate uriTemplate = UriTemplate.create(template, Util.UTF_8);
    String expanded = uriTemplate.expand(Collections.singletonMap("url", "https://www.google.com"));
    assertThat(expanded).isEqualToIgnoringCase("/get?url=https%3A%2F%2Fwww.google.com");
  }