void () { myFixture.configureByText("Foo.java", """ class Foo { @org.intellij.lang.annotations.Language("file-reference") String bar() { return "<error descr="Cannot resolve file 'unknown.file'">unknown.file</error>"; } \s }"""); myFixture.testHighlighting(); }