void (TreePath parent, TreeNode node, int count, TreeVisitor visitor, Object... expected) { test(parent, node, count, false, new Walker(visitor), expected); test(parent, node, count, false, new Walker(visitor) { @Override protected Collection<TreeNode> getChildren(@NotNull TreeNode node) { setChildren(super.getChildren(node)); return null; } }, expected); }