@Test
public void ensurePlusIsSupportedOnPath() {

  String template = "https://www.example.com/sam+adams/beer/{type}";
  UriTemplate uriTemplate = UriTemplate.create(template, Util.UTF_8);
  String expanded = uriTemplate.expand(Collections.emptyMap());
  assertThat(expanded).isEqualToIgnoringCase("https://www.example.com/sam+adams/beer/");
}