void () { final VirtualFile dir = createDir("lib"); final Module a = addModuleWithSourceRoot("a"); addProjectLibrary(a, "dir", dir); final String basePath = myProject.getBasePath(); createFromTemplate(a, null, basePath, false); assertLayout("<root>\n" + " a.jar\n" + " META-INF/\n" + " file:" + basePath + "/META-INF/MANIFEST.MF\n" + " module:a\n" + " dir:" + dir.getPath()); }