/**
* Call this method to test behavior when the given charToType is typed at the <caret>.
* See class documentation for more info: {@link HbActionHandlerTest}
*/
void doCharTest(final char charToType, @NotNull String before, @NotNull String expected) {
final TypedAction typedAction = EditorActionManager.getInstance().getTypedAction();
doExecuteActionTest(before, expected, new Runnable() {
@Override
public void run() {
typedAction.actionPerformed(myFixture.getEditor(), charToType, ((EditorEx)myFixture.getEditor()).getDataContext());
}
});
}