LocalResourceId implements ResourceId { @Override public String getScheme() { return "file"; } private  LocalResourceId(Path path, boolean isDirectory); @Override LocalResourceId resolve(String other, ResolveOptions resolveOptions); @Override LocalResourceId getCurrentDirectory(); @Override @Nullable String getFilename(); @Override String getScheme(); @Override boolean isDirectory(); @Override String toString(); @Override boolean equals(@Nullable Object obj); @Override int hashCode();  }
@Test public void testGetScheme() { assertEquals("file", toResourceIdentifier("/root/tmp/").getScheme()); }