final Path path = create( fs, "/path/to/file.txt", false );
assertTrue( path.startsWith( create( fs, "/path", false ) ) );
assertTrue( path.startsWith( create( fs, "/path/to", false ) ) );
assertTrue( path.startsWith( create( fs, "/path/to/file.txt", false ) ) );
assertFalse( path.startsWith( create( fs, "/p/th/to/file.txt", false ) ) );
assertFalse( path.startsWith( create( fs, "/some/other/path/to/file.txt", false ) ) );
assertFalse( path.startsWith( create( fs, "path/to/file.txt", false ) ) );
assertFalse( path.startsWith( create( fs, "path/to", false ) ) );
assertFalse( path.startsWith( create( fs, "to", false ) ) );