void () { final XmlFile xmlFile = createXmlFile("<root aaa= bbb=\"a\"/>"); final XmlTag tag = xmlFile.getDocument().getRootTag(); final XmlAttributeValueManipulator manipulator = new XmlAttributeValueManipulator(); assertEquals(TextRange.from(0, 0), manipulator.getRangeInElement(tag.getAttribute("aaa").getValueElement())); assertEquals(TextRange.from(1, 1), manipulator.getRangeInElement(tag.getAttribute("bbb").getValueElement())); }