void () { testAsync(AsyncTreeModelTest::createRoot, test -> testPathState1(test.tree, () -> test.updateModelAndWait(model -> ((DefaultTreeModel)model).setRoot(null), () -> testPathState0(test.tree, test::done)))); }