void (Module module, String path, boolean testSource) { final ContentEntry entry = ModuleRootManager.getInstance(module).getContentEntries()[0]; VirtualFile child = entry.getFile().findChild(path); assertNotNull(child); PsiTestUtil.addSourceRoot(module, child, testSource); }