@Test
void firstPartEmptyForRoot() {

    URIPath target = new URIPath("/");
    Optional<String> expected = Optional.of("");
    Optional<String> result = target.getPart(0);
    assertEquals(expected, result);
}