public void ExceptionIsNotThrownIfParameterIsNotNumericUpDown()
        {
            // Arrange

            var command = new IncrementNumericUpDownValue();

            // Assert

            Assert.DoesNotThrow(() => command.Execute(new object()));
        }
        public void CanExecuteReturnsTrue()
        {
            // Arrange

            var command = new IncrementNumericUpDownValue();

            // Act

            var canExecute = command.CanExecute(null);

            // Assert

            Assert.IsTrue(canExecute);
        }
        public void CommandIncrementsNumericUpDownValue()
        {
            // Arrange

            var upDown = new NumericUpDown
            {
                Value = 0
            };

            var command = new IncrementNumericUpDownValue();

            // Act

            command.Execute(upDown);

            // Assert

            Assert.That(upDown.Value, Is.EqualTo(1));
        }