public void HostDisposesRubyConsole()
        {
            DerivedRubyConsoleHost host    = new DerivedRubyConsoleHost(new MockTextEditor());
            RubyConsole            console = host.CallCreateConsole(null, null, null) as RubyConsole;

            host.Dispose();

            Assert.IsNull(console.ReadLine(0));
        }
		public void HostDisposesRubyConsole()
		{
			DerivedRubyConsoleHost host = new DerivedRubyConsoleHost(new FakeConsoleTextEditor());
			RubyConsole console = host.CallCreateConsole(null, null, null) as RubyConsole;
			host.Dispose();

			Assert.IsNull(console.ReadLine(0));
		}
 public void TearDown()
 {
     host.Dispose();
     textEditorControl.Dispose();
 }
 public void TearDown()
 {
     host.Dispose();
 }