void () { String projectPath = "/jps/model-serialization/testData/excludePatterns"; loadProject(projectPath + "/excludePatterns.ipr"); JpsModule module = assertOneElement(myProject.getModules()); JpsExcludePattern pattern = assertOneElement(module.getExcludePatterns()); assertEquals("*.class", pattern.getPattern()); assertEquals(assertOneElement(module.getContentRootsList().getUrls()), pattern.getBaseDirUrl()); }