### Question:
BasicPath extends AbstractPath { public boolean isRoot() { return false; } BasicPath( List<Segment> segments,
                      boolean absolute ); Path getAncestor( int degree ); List<Segment> getSegmentsList(); boolean isAbsolute(); boolean isNormalized(); boolean isRoot(); int size(); static final Path EMPTY_RELATIVE; static final Path SELF_PATH; static final Path PARENT_PATH; }### Answer:
@Test public void shouldConstructRootPathFromStringWithSingleDelimiter() { assertThat(pathFactory.create("/"), is(ROOT)); assertThat(pathFactory.create("/").isRoot(), is(true)); }