void (@NotNull String expected, boolean showSelection, @NotNull Runnable runnable) { invokeSafely(() -> { Assert.assertEquals(expected, new TreeTestUtil(getTree()).setSelection(showSelection).toString()); runnable.run(); }); }