void (String moduleName, String depName, DependencyScope... scopes) { List<LibraryOrderEntry> deps = getModuleLibDeps(moduleName, depName); assertUnorderedElementsAreEqual(ContainerUtil.map2Array(deps, entry -> entry.getScope()), scopes); }