void () { configureByFile(getTestName(false) + ".java"); myFixture.completeBasic(); assertNotNull(getLookup()); assertNotEquals("JComponent", getLookup().getCurrentItem().getLookupString()); myFixture.type("ponent c;\nJCom"); myFixture.completeBasic(); assertNotNull(getLookup()); assertEquals("JComponent", getLookup().getCurrentItem().getLookupString()); }