void () { int offset = getCaretOffset(); final PsiReference referenceAt = myFixture.getFile().findReferenceAt(offset); Assert.assertNotNull(referenceAt); final PsiElement resolve = referenceAt.resolve(); Assert.assertNotNull(resolve); Assert.assertTrue(StringUtil.equalsIgnoreWhitespaces(""" { "type": "array", "minItems": 1, "uniqueItems": true }""", resolve.getText())); }