void (final boolean confirmationExpected) { assertEnabled(); runAction(() -> { final AnAction action = createAction(myArtifactEditor); action.actionPerformed(createActionEvent(action)); }, confirmationExpected); }