void () { myFixture.setCaresAboutInjection(false); myFixture.configureByFile("wrap/WrapInStringLiteral.py"); final int stringLiteralOffset = 114; PsiFile hostFile = myFixture.getFile(); assertNotNull( InjectedLanguageManager.getInstance(hostFile.getProject()).findInjectedElementAt(hostFile, stringLiteralOffset + "\"".length())); myFixture.type(" AND field"); myFixture.checkResultByFile("wrap/WrapInStringLiteral.after.py", true); }