void () { testCollectExpandedPaths(Set.of("333"), test -> { test.getTree().setRootVisible(false); TreePath root = test.getTree().getPathForRow(17); // 333 return TreeUtil.collectExpandedPaths(test.getTree(), root); }); }