void (VirtualFile rootDir) { PsiTestUtil.addContentRoot(myModule, rootDir); final VirtualFile[] children = rootDir.getChildren(); for (VirtualFile child : children) { if (child.getName().startsWith("src")) { PsiTestUtil.addSourceRoot(myModule, child); } } }