void () { setFileType(XmlFileType.INSTANCE); String text2 = "</root>"; final String text1 = "<root>/n"; prepareFile(text1, text2); insert("<"); PsiElement element = myDummyFile.findElementAt(10); assert element != null; assertNotNull(element.getTextRange()); }