void () { myFixture.configureByText("a.java", "\nclass Outer {\n class Inner {\n void foo() {\n soutm<caret>\n }\n }\n}"); myFixture.type("\t"); assert myFixture.getEditor().getDocument().getText().contains("\"Inner.foo"); }