void () { doTestLibraryExcluding(libRootPair -> { Module module = ProjectStructureDslKt.createJavaModule(projectModelRule, "module", moduleContentBuilder -> { return Unit.INSTANCE; }); ModuleRootModificationUtil.addModuleLibrary(module, "libName", Collections.singletonList(libRootPair.getFirst().getUrl()), Collections.singletonList(libRootPair.getSecond().getUrl())); }); }