public void testIncludeRootVisitStructured() throws Exception
{
MockVFSContext context = createStructuredVFSContextWithChildrenAndNonLeafs();
VisitorAttributes attributes = new VisitorAttributes();
attributes.setIncludeRoot(true);
MockVirtualFileVisitor visitor = new MockVirtualFileVisitor(attributes);
HashSet<String> expected = new HashSet<String>();
expected.add("");
expected.add("child1");
expected.add("child2");
expected.add("child3");