void () { VirtualFile vTestRoot = getTestRoot(); VirtualFile xml = vTestRoot.findChild("xWin1251.xml"); String expected = prolog(WINDOWS_1251) + XML_TEST_BODY; String text = getDocument(xml).getText(); assertEquals(expected, text); }