map.put("B", (ErlangQVar) ErlangElementFactory.createQVarFromText(getProject(), "B"));
file.putUserData(ErlangVarProcessor.ERLANG_VARIABLE_CONTEXT, map);
myFile = file;
myEditor = createEditor(file.getVirtualFile());
assert myEditor != null;
enableInspectionTool(new ErlangUnboundVariableInspection());
doDoTest(true, false);
String testName = getTestName(false);
assertEquals(FileUtil.loadFile(new File(getTestDataPath() + testName + ".txt"), true), DebugUtil.psiToString(file, false));
}