public static UriTemplate create(String template, Charset charset) {
    return new UriTemplate(template, true, charset);
  }
@Test
  void pathStyleExpansionSupportedWithMap() {
    String template = "/server/matrixParams{;parameters}";
    Map<String, Object> parameters = new LinkedHashMap<>();
    parameters.put("account", "a");
    parameters.put("name", "n");

    Map<String, Object> values = new LinkedHashMap<>();
    values.put("parameters", parameters);

    UriTemplate uriTemplate = UriTemplate.create(template, Util.UTF_8);
    String expanded = uriTemplate.expand(values);
    assertThat(expanded).isEqualToIgnoringCase("/server/matrixParams;account=a;name=n");
  }