Editor (@TestDataFile @NonNls @NotNull String filePath) { try { final File ioFile = new File(getTestDataPath() + filePath); String fileText = FileUtilRt.loadFile(ioFile, CharsetToolkit.UTF8, true); return configureFromFileTextWithoutPSI(fileText); } catch (IOException e) { throw new RuntimeException(e); } }