public ChangeHeightCommandTests()
 {
     shape = new Shape();
     shape.Height = 10;
     changeHeightCommand = new ChangeHeightCommand(shape, 50);
 }
 private void ChangeHeightManyTimes(CommandProcessor editor, Shape shape, Int32 numberOfTimes)
 {
     for (var i = 0; i < numberOfTimes; i++)
     {
         var command = new ChangeHeightCommand(shape, i * 10);
         editor.Do(command);
     }
 }
 public CommandProcessorTests()
 {
     commandProcessor = new CommandProcessor();
     shape = new Shape();
 }
 public ChangeWidthCommandTests()
 {
     shape = new Shape();
     shape.Width = 10;
     changeWidthCommand = new ChangeWidthCommand(shape, 50);
 }