void () { File project = new File(myRoot, "project"); File exc = new File(project, "exc"); File src = new File(exc, "src"); JpsModule module = addModule(); addContentRoot(module, project); addExcludedRoot(module, exc); addSourceRoot(module, src); assertNotExcluded(src); addExcludedRoot(module, src); assertExcluded(src); }