public TurtleGraphicsExecutionEngine(ITurtleGraphicsLexicalAnalyser textParser,
     ITurtleGraphicsSyntaxAnalyser turtleGraphicsSyntaxAnalyser, ICanceller canceller,
     ITurtleGraphicsRuntime turtleGraphicsRuntime)
 {
     _textParser = textParser;
     _turtleGraphicsSyntaxAnalyser = turtleGraphicsSyntaxAnalyser;
     _canceller = canceller;
     _turtleGraphicsRuntime = turtleGraphicsRuntime;
 }
 public static TurtleGraphicsExecutionEngine GetExecutionEngineInstance(ITurtleGraphicsLexicalAnalyser textParserMock,
    ITurtleGraphicsSyntaxAnalyser turtleGraphicsSyntaxAnalyser)
 {
     return new TurtleGraphicsExecutionEngine(textParserMock, turtleGraphicsSyntaxAnalyser,
         MockRepository.GenerateStub<ICanceller>(), MockRepository.GenerateStub<ITurtleGraphicsRuntime>());
 }