void () { myFixture.configureByText("Test.java", "class X {Stri<caret>}"); myFixture.completeBasic(); myFixture.type('!'); myFixture.checkResult(""" import org.jetbrains.annotations.NotNull; class X { @NotNull String }"""); }