public static UriTemplate create(String template, Charset charset) {
    return new UriTemplate(template, true, charset);
  }
@Test
  void incompleteTemplateIsALiteral() {
    String template = "https://www.example.com/testing/foo}}";
    UriTemplate uriTemplate = UriTemplate.create(template, Util.UTF_8);
    assertThat(uriTemplate.expand(Collections.emptyMap()))
        .isEqualToIgnoringCase("https://www.example.com/testing/foo%7D%7D");
  }