}
public void testGetAllChildrenRecursivelyStructured() throws Exception
{
MockVFSContext context = registerStructuredVFSContextWithSubChildren();
VirtualFile child1 = getChildHandler(context, "child1").getVirtualFile();
VirtualFile child11 = getChildHandler(context, "child1/child1,1").getVirtualFile();
VirtualFile child2 = getChildHandler(context, "child2").getVirtualFile();
VirtualFile child21 = getChildHandler(context, "child2/child2,1").getVirtualFile();
VirtualFile child22 = getChildHandler(context, "child2/child2,2").getVirtualFile();
VirtualFile child3 = getChildHandler(context, "child3").getVirtualFile();
VirtualFile child31 = getChildHandler(context, "child3/child3,1").getVirtualFile();
VirtualFile child32 = getChildHandler(context, "child3/child3,2").getVirtualFile();
VirtualFile child33 = getChildHandler(context, "child3/child3,3").getVirtualFile();
VirtualFile file = VFS.getRoot(context.getRootURI());
List<VirtualFile> children = file.getChildrenRecursively();
assertNotNull(children);
List<VirtualFile> expected = new ArrayList<VirtualFile>();
expected.add(child1);
expected.add(child11);