void (String... expectedSuggestions) { final String fileName = getTestName(false).replace('$', '/') + ".java"; myFixture.copyFileToProject("lombok.config", "lombok.config"); myFixture.configureByFile( fileName); myFixture.complete(CompletionType.BASIC, 1); List<String> autoSuggestions = myFixture.getLookupElementStrings(); assertNotNull(autoSuggestions); assertThat("Autocomplete doesn't contain right suggestions", autoSuggestions, CoreMatchers.hasItems(expectedSuggestions)); }