void () { var text = "package bar; class Foo extends List<Inne<caret>> { public static class Inner {} }"; myFixture.configureFromExistingVirtualFile(myFixture.addClass(text).getContainingFile().getVirtualFile()); myFixture.completeBasic(); myFixture.type('\n'); myFixture.checkResult(text.replace("Inne<caret>", "Foo.Inner<caret>")); }