void () { final VirtualFile dir = createDir("lib"); final Module a = addModuleWithSourceRoot("a"); addProjectLibrary(a, "dir", dir); createFromTemplate(a, null, null, true); assertLayout(""" a.jar module:a lib:dir(project)"""); }