void () { myFixture.configureByFile(getTestName(true) + ".py"); LookupElement[] variants = myFixture.completeBasic(); assertNotNull(variants); assertTrue(variants.length > 0); assertTrue(ContainerUtil.exists(variants, v -> v.getLookupString().equals("my_expr"))); }