public void Execute_NullParameter()
        {
            var expectedCount = _actualCount;

            _sut.Execute(null);

            Assert.AreNotEqual(expectedCount, _actualCount);
            Assert.IsTrue(expectedCount < _actualCount);
        }
        public void Execute_ObjectParameter()
        {
            var expectedCount = _actualCount;

            _sut.Execute(1 as object);

            Assert.AreNotEqual(expectedCount, _actualCount);
            Assert.IsTrue(expectedCount < _actualCount);
        }
 public void CanExecute_ThrowsInvalidCastException()
 {
     Assert.ThrowsException <InvalidCastException>(
         () => _sut.Execute(""));
 }