public void RemoveCommand_Returns_True_When_CommandRemoved() { var expected = true; var c1 = new TestCommand(); underTest.AddCommand(c1); var actual = underTest.RemoveCommand(c1); Assert.IsTrue(expected == actual); }
public void MyTestCleanup() { global.RemoveCommand(command); global = null; command = null; CrestronConsole.Messages.Length = 0; }
public void MyTestCleanup() { global.RemoveCommand(command); global = null; command = null; CrestronConsole.Messages.Length = 0; if (writer != null) { ConsoleBase.UnregisterConsoleWriter(writer); } }