public void TestCanHandleFalse()
        {
            var handler = new TransferCommandHandler();
            var command = Mock.Of <ICommand>();

            var canHandle = handler.CanHandle(command);

            Assert.False(canHandle);
        }
        public void TestCanHandle()
        {
            var handler = new TransferCommandHandler();
            var command = new TransferCommand
            {
                Currency             = Currencies.Dollars.Of(10),
                SourceDepositId      = Guid.NewGuid(),
                DestinationDepositId = Guid.NewGuid()
            };

            var canHandle = handler.CanHandle(command);

            Assert.True(canHandle);
        }