void () { doTestSingleJvmModule(); String kotlinVersion = KotlinPluginLayout.getStandaloneCompilerVersion().getArtifactVersion(); ModuleRootManager.getInstance(getModule()).orderEntries().forEachLibrary(library -> { assertSameElements( Arrays.stream(library.getRootProvider().getFiles(OrderRootType.CLASSES)).map(VirtualFile::getName).toArray(), PathUtil.KOTLIN_JAVA_STDLIB_NAME + "-" + kotlinVersion + ".jar", PathUtil.KOTLIN_JAVA_RUNTIME_JDK7_NAME + "-" + kotlinVersion + ".jar", PathUtil.KOTLIN_JAVA_RUNTIME_JDK8_NAME + "-" + kotlinVersion + ".jar", "kotlin-stdlib-common-" + kotlinVersion + ".jar", "annotations-13.0.jar" ); assertSameElements( Arrays.stream(library.getRootProvider().getFiles(OrderRootType.SOURCES)).map(VirtualFile::getName).toArray(), PathUtil.KOTLIN_JAVA_STDLIB_NAME + "-" + kotlinVersion + "-sources.jar", PathUtil.KOTLIN_JAVA_RUNTIME_JDK7_NAME + "-" + kotlinVersion + "-sources.jar", PathUtil.KOTLIN_JAVA_RUNTIME_JDK8_NAME + "-" + kotlinVersion + "-sources.jar", "kotlin-stdlib-common-" + kotlinVersion + "-sources.jar", "annotations-13.0-sources.jar" ); return true; }); }