void (@NotNull TreeTest test, boolean visible, boolean showHandles, @NotNull Runnable onDone) { test.getTree().setRootVisible(visible); test.getTree().setShowsRootHandles(showHandles); onDone.run(); }