String (final String text, final int offset, final char character) { final PsiFile file = myFixture.configureByText(PythonFileType.INSTANCE, text); myFixture.getEditor().getCaretModel().moveToOffset(offset); myFixture.type(character); return myFixture.getDocument(file).getText(); }