void (CodeInsightTestFixture f, Function<? super LookupElement, String> lookupElementStringFunction, String... expected) { List<String> actual = getCompletionVariants(f, lookupElementStringFunction); assertNotEmpty(actual); assertUnorderedElementsAreEqual(actual, expected); }