void () { ConsoleViewImpl console = myConsole; console.clear(); EditorActionManager.getInstance(); DataContext dataContext = DataManager.getInstance().getDataContext(console.getComponent()); TypedAction action = TypedAction.getInstance(); action.actionPerformed(console.getEditor(), 'h', dataContext); assertEquals(1, console.getContentSize()); }