void (Module module, PathsList classPath) { Arrays.stream( OrderEnumerator.orderEntries(module).withoutModuleSourceEntries() .withoutDepModules() .withoutSdk() .recursively().exportedOnly().classes().usingCache().getRoots()) .map(f -> PathUtil.getLocalPath(JarFileSystem.getInstance().getVirtualFileForJar(f))) .forEach(path -> assertTrue("path " + path + " is located on the classpath: " + classPath.getPathsString(), classPath.getPathList().contains(path))); }