void (@NotNull String text, char charToType, @NotNull String expectedResult) { final PsiFile file = myFixture.configureByText("test.md", text); assertInstanceOf(file, MarkdownFile.class); myFixture.type(charToType); myFixture.checkResult(expectedResult); }