public void CreateFakeWorkbench()
		{
			workbench = MockWorkbench.CreateWorkbenchWithOneViewContent("test.py");
			fakeConsoleTextEditor = workbench.FakeScriptingConsolePad.FakeConsoleTextEditor;
			fakeConsole = workbench.FakeScriptingConsolePad.FakeScriptingConsole;
			fakeTextEditor = workbench.ActiveMockEditableViewContent.MockTextEditor;
		}
		public void Init()
		{
			textEditor = new FakeConsoleTextEditor();
			dispatcher = new FakeControlDispatcher();
			dispatcher.CheckAccessReturnValue = true;
			
			stream = new ScriptingConsoleOutputStream(textEditor, dispatcher);
		}
		TestableScriptingConsole(IScriptingConsoleTextEditor consoleTextEditor, ScriptingConsoleUnreadLines unreadLines)
			: base(consoleTextEditor, unreadLines)
		{
			FakeConsoleTextEditor = (FakeConsoleTextEditor)consoleTextEditor;
			UnreadLines = unreadLines;
		}
		public void Init()
		{
			console = new TestableScriptingConsole();
			console.Write(prompt, ScriptingStyle.Prompt);
			textEditor = console.FakeConsoleTextEditor;
		}
		public void CreateConsole()
		{
			TestableScriptingConsole = new TestableScriptingConsole();
			FakeConsoleTextEditor = TestableScriptingConsole.FakeConsoleTextEditor;
		}
 TestableScriptingConsole(IScriptingConsoleTextEditor consoleTextEditor, ScriptingConsoleUnreadLines unreadLines)
     : base(consoleTextEditor, unreadLines)
 {
     FakeConsoleTextEditor = (FakeConsoleTextEditor)consoleTextEditor;
     UnreadLines           = unreadLines;
 }