public void Clear_TextEditorHasText_RemovesAllText() { TestableScriptingConsole.Write("a", ScriptingStyle.Prompt); TestableScriptingConsole.Clear(); bool cleared = FakeConsoleTextEditor.IsClearCalled; Assert.IsTrue(cleared); }