void () { configure("-XX:<caret>"); myFixture.completeBasic(); assertEquals(List.of("+MinusFlag", "-Flag", "Diagnostic", "Experimental", "Value"), myFixture.getLookupElementStrings()); LookupElement[] elements = myFixture.getLookupElements(); checkPresentation(elements[0], "+MinusFlag|null/bool"); checkPresentation(elements[1], "-Flag|null/bool"); checkPresentation(elements[2], "[d] Diagnostic| = 20/uint"); checkPresentation(elements[3], "[e] Experimental| = 10/uint"); checkPresentation(elements[4], "Value| = 10/uint"); myFixture.type('\n'); myFixture.checkResult("-XX:+MinusFlag "); }