@Test
void noPart() {

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