public static UriTemplate create(String template, Charset charset) {
    return new UriTemplate(template, true, charset);
  }
@Test
  void pathStyleExpansionSupportedWithLists() {
    String template = "{;list}";
    UriTemplate uriTemplate = UriTemplate.create(template, Util.UTF_8);

    List<String> values = new ArrayList<>();
    values.add("red");
    values.add("green");
    values.add("blue");

    String expanded = uriTemplate.expand(Collections.singletonMap("list", values));
    assertThat(expanded).isEqualToIgnoringCase(";list=red;list=green;list=blue");

  }