public static GcsUri createGcsUri(String bucket, String path) {
    return new GcsUri(createUri(bucket, toAbsolutePath(path)));
  }
@Test
  public void testNonAbsolutePath() {
    // Relative path must be normalized to absolute path for gcs uri
    // This is because the URI must have an absolute path component,
    // ex. new URI("gs", "bucket", "/dir/file", null, null)
    GcsUri gcsUri = createGcsUri("bucket", "dir/file");
    assertEquals(gcsUri, createGcsUri("bucket", "/dir/file"));
  }