void () { myFixture.configureByText("a.py", FOO_CLASS + "foo = Foo()\n" + "foo2 = Foo()\n" + "<caret>"); myTester.typeWithPauses("foo"); LookupImpl lookup1 = myTester.getLookup(); assertNotNull(lookup1); assertFalse(lookup1.isFocused()); myTester.typeWithPauses("."); LookupImpl lookup2 = myTester.getLookup(); assertNotSame(lookup1, lookup2); assertNotNull(lookup2); assertFalse(lookup2.isFocused()); }