void () { File exc = new File(myRoot, "exc"); JpsModule module = addModule(); addExcludedRoot(module, exc); assertNotExcluded(myRoot); assertExcluded(exc); assertSameElements(getModuleExcludes(module), exc); }