RequiresCouttsAccountCheck() public method

public RequiresCouttsAccountCheck ( ) : bool
return bool
        public virtual bool Process(BankAccountDetails bankAccountDetails)
        {
            bankAccountDetails.FirstResult = _firstStepRouter.GetModulusCalculation(bankAccountDetails);

            if (bankAccountDetails.RequiresCouttsAccountCheck())
            {
                return ExceptionFourteenForCouttsAccounts(bankAccountDetails);
            }

            if (bankAccountDetails.WeightMappings.Count() == 1 || !bankAccountDetails.IsSecondCheckRequired())
            { return bankAccountDetails.FirstResult; }

            if (bankAccountDetails.IsExceptionTwoAndFirstCheckPassed()) return true;

            return bankAccountDetails.IsExceptionThreeAndCanSkipSecondCheck()
                       ? bankAccountDetails.FirstResult
                       : _secondModulusCalculatorStep.Process(bankAccountDetails);
        }
 public void CanVerifyIfRequiresCouttsCheck(string sc, string an, int exception, bool expected)
 {
     var target = new BankAccountDetails(sc, an) {WeightMappings = BuildMappingList(sc, 1, exception)};
     Assert.AreEqual(expected,target.RequiresCouttsAccountCheck());
 }