void () { doCopyDirectory(); runWithSourceRoots(List.of(myFixture.findFileInTempDir("sourceRoot")), () -> { Presentation presentation = doLaunchAction("sourceRoot"); assertTrue(presentation.isVisible()); assertFalse(presentation.isEnabled()); }); }