void () { var cls = myFixture.addFileToProject("foo/Bar.java", """ package foo; class Bar {{ class Local {} Lo<caret>x }}"""); myFixture.configureFromExistingVirtualFile(cls.getContainingFile().getVirtualFile()); var item = myFixture.completeBasic()[0]; assertTrue(renderElement(item).getTailText().contains("local class")); }