public void ClickCommand_Returns_Clicked() { Command command = new ClickCommand(window); command.Execute(); Assert.AreEqual("Clicked", window.DrawnText); }
public void ClickCommand_Execute_And_Then_Undo_Should_Be_Empty() { Command command = new ClickCommand(window); command.Execute(); Command.Undo(); Assert.AreEqual("", window.DrawnText); }