GcsResourceId implements ResourceId { @Override public boolean isDirectory() { return gcsPath.endsWith("/"); } private  GcsResourceId(GcsPath gcsPath); @Override GcsResourceId resolve(String other, ResolveOptions resolveOptions); @Override GcsResourceId getCurrentDirectory(); @Override boolean isDirectory(); @Override String getScheme(); @Override @Nullable String getFilename(); @Override String toString(); @Override boolean equals(@Nullable Object obj); @Override int hashCode();  }
@Test public void testIsDirectory() { assertTrue(toResourceIdentifier("gs: assertTrue(toResourceIdentifier("gs: assertTrue(toResourceIdentifier("gs: assertFalse(toResourceIdentifier("gs: }