void (@NotNull Module module, String relativePath) { File expected = new File(myRootDir, relativePath); String url = assertOneElement(ModuleRootManager.getInstance(module).getContentRootUrls()); File actual = new File(VfsUtilCore.urlToPath(url)); assertEquals(expected.getAbsolutePath(), actual.getAbsolutePath()); }