void (JavaCodeInsightTestFixture fixture, PsiFile file, String ... expectedVariants) { fixture.configureFromExistingVirtualFile(file.getVirtualFile()); checkCompletionContains(fixture, expectedVariants); }