@Override
  public Path resolveSibling(Path other) {
    throw new UnsupportedOperationException();
  }
@Test
  public void testResolveSibling() {
    assertEquals(
        "gs://bucket/bar/moo",
        GcsPath.fromUri("gs://bucket/bar/foo").resolveSibling("moo").toString());
    assertEquals(
        "gs://bucket/moo", GcsPath.fromUri("gs://bucket/foo").resolveSibling("moo").toString());
    thrown.expect(UnsupportedOperationException.class);
    GcsPath.fromUri("gs://bucket/").resolveSibling("moo");
  }