void (String... completionVariants) { myFixture.configureFromExistingVirtualFile(getConsoleView().getVirtualFile()); myFixture.completeBasic(); List<String> completions = myFixture.getLookupElementStrings(); for (String variant : completionVariants) { assertTrue(completions.contains(variant)); } }