MockVFSContext context = registerStructuredVFSContextWithSubChildren();
VirtualFile child1 = getChildHandler(context, "child1").getVirtualFile();
VirtualFile child2 = getChildHandler(context, "child2").getVirtualFile();
VirtualFile child3 = getChildHandler(context, "child3").getVirtualFile();
VFS vfs = VFS.getVFS(context.getRootURI());
MockVirtualFileFilter filter = new MockVirtualFileFilter();
List<VirtualFile> children = vfs.getChildren(filter);
assertNotNull(children);
List<VirtualFile> expected = new ArrayList<VirtualFile>();
expected.add(child1);
expected.add(child2);