void (String moduleName, String depName, String ... roots) { List<LibraryOrderEntry> deps = getModuleLibDeps(moduleName, depName); assertThat(deps).hasSize(1); LibraryEx library = (LibraryEx)deps.get(0).getLibrary(); assertThat(library.getUrls(OrderRootType.CLASSES)).hasSize(1); String[] excludedRootUrls = library.getExcludedRootUrls(); assertThat(excludedRootUrls).containsExactly(roots); }