void (String text, Consumer<PsiBuilder> parser) { String name = getTestName(false); myFile = myConfigurator.createPsiFile(this, name, text, parser); try { checkResult(name, myFile); } catch (IOException e) { throw new RuntimeException(e); } }