ImmutableRoot implements Root, ReadOnly { @Override public boolean move(String sourcePath, String destPath) { throw new UnsupportedOperationException(); } ImmutableRoot(@NotNull NodeState rootState);  ImmutableRoot(@NotNull Root root);  ImmutableRoot(@NotNull ImmutableTree rootTree); static ImmutableRoot getInstance(@NotNull Root root); @NotNull @Override ImmutableTree getTree(@NotNull String path); @Override boolean move(String sourcePath, String destPath); @Override void rebase(); @Override void refresh(); @Override void commit(@NotNull Map<String, Object> info); @Override void commit(); @Override boolean hasPendingChanges(); @NotNull @Override QueryEngine getQueryEngine(); @Override @NotNull Blob createBlob(@NotNull InputStream stream); @Override Blob getBlob(@NotNull String reference); @NotNull @Override ContentSession getContentSession();  }
@Test(expected = UnsupportedOperationException.class) public void testMove() { root.move("/x", "/b"); }