public void testVisitWithRoot() throws Exception
{
VisitorAttributes attributes = new VisitorAttributes();
attributes.setIncludeRoot(true);
attributes.setRecurseFilter(VisitorAttributes.RECURSE_ALL);
MockVirtualFileVisitor visitor = new MockVirtualFileVisitor(attributes);
Set<String> expected = new HashSet<String>();
expected.add("children" + getSuffix());
expected.add("child1");
expected.add("child2");