void () { Module m = createModule("a.iml", StdModuleTypes.JAVA); addLibrary(m, DependencyScope.TEST); VirtualFile libraryClass = myFixture.createFile("lib/Test.class"); assertTrue(m.getModuleWithDependenciesAndLibrariesScope(true).contains(libraryClass)); assertFalse(m.getModuleWithDependenciesAndLibrariesScope(false).contains(libraryClass)); VirtualFile[] compilationClasspath = getCompilationClasspath(m); assertEquals(1, compilationClasspath.length); VirtualFile[] productionCompilationClasspath = getProductionCompileClasspath(m); assertEmpty(productionCompilationClasspath); }