示例#1
0
        public void ReadLineReturnsNullWhenConsoleDisposed()
        {
            RubyConsole console = new RubyConsole(new MockTextEditor(), null);

            console.Dispose();
            Assert.IsNull(console.ReadLine(0));
        }
示例#2
0
 public void TearDown()
 {
     RubyConsole.Dispose();
 }