void (@NotNull final String initialPositionText, final String @NotNull ... expectedSuggestions) { moveByText(initialPositionText); final Set<String> completions = new HashSet<>(); for (final LookupElement element : myFixture.completeBasic()) { completions.add(element.getLookupString()); } Assert.assertThat("Bad suggestions", completions, Matchers.containsInAnyOrder(expectedSuggestions)); }