@Test
public void skipSlashes() {

  String template = "https://www.example.com/{path}";
  UriTemplate uriTemplate = UriTemplate.create(template, false, Util.UTF_8);
  Map<String, Object> variables = new LinkedHashMap<>();
  variables.put("path", "me/you/first");
  String encoded = uriTemplate.expand(variables);
  assertThat(encoded).isEqualToIgnoringCase("https://www.example.com/me/you/first");
}