public void IsValid_Should_Return_True_When_Account_Is_Allowed_In_Payment_Scheme_Bacs()
        {
            var result = _bacsValidator.IsValid(new MakePaymentRequest(), new Account {
                AllowedPaymentSchemes = AllowedPaymentSchemes.Bacs
            });


            Assert.IsTrue(result);
        }
        public void ShouldValidateSuccessfullyOnlyIfBacsIsAllowedAndAccountExists()
        {
            //Act
            var result = _bacsValidator.IsValid(new MakePaymentRequest(), new Account {
                AllowedPaymentSchemes = AllowedPaymentSchemes.Bacs
            });

            //Assert
            Assert.IsTrue(result);
        }
        public void IsValid_NotBacsPaymentSchemes_ReturnsFalse(AllowedPaymentSchemes allowedPaymentSchemes)
        {
            //Arrange
            _account.AllowedPaymentSchemes = allowedPaymentSchemes;

            //Act
            var isValid = _bacsValidator.IsValid(_account, _makePaymentRequest);

            //Assert
            Assert.That(isValid, Is.False);
        }