void () { myFixture.configureByText("a.java", """ class Bar {{ <caret>xxx }} """); myFixture.completeBasic(); final var strings = myFixture.getLookupElementStrings(); assertTrue(strings.contains("if")); assertTrue(strings.contains("while")); assertTrue(strings.contains("do")); assertTrue(strings.contains("new")); assertTrue(strings.contains("try")); strings.remove("new"); assertFalse(strings.contains("new")); }