assertEquals("traceback element " + elementNumber + " function name", methodName, line.functionName);
}
private IScript createScript(String content, String fileName) throws ClassNotFoundException, InstantiationException,
IllegalAccessException {
IScript script = new PythonScript(interpreterOutput, interpreterError, content, fileName, new ComponentFinder(
Boolean.FALSE, WindowMonitor.getInstance().getNamingStrategy(), new ResolversProvider(),
ScriptModelServerPart.getModelServerPart(), WindowMonitor.getInstance()), WindowMonitor.getInstance(),
MarathonAppType.JAVA);
return script;
}