void () { doCopyDirectory(); myNspService.toggleMarkingAsNamespacePackage(myFixture.findFileInTempDir(NAMESPACE_PACK_DIR)); assertTrue(myNspService.isMarked(myFixture.findFileInTempDir(NAMESPACE_PACK_DIR))); assertTrue(myNspService.isNamespacePackage(myFixture.findFileInTempDir(NAMESPACE_PACK_DIR + "/nestedNamespacePackage"))); Presentation presentation = doLaunchAction(NAMESPACE_PACK_DIR + "/nestedNamespacePackage"); assertTrue(presentation.isVisible()); assertFalse(presentation.isEnabled()); }