void (VirtualFile dir) { VirtualFile[] roots = OrderEntryUtil.getModuleLibraries(ModuleRootManager.getInstance(getModule())).get(0).getFiles(OrderRootType.CLASSES); VirtualFile root = assertOneElement(roots); assertEquals(dir, root); }