Ejemplo n.º 1
0
 public FirstStepRouter()
 {
     _firstStandardModulusTenCalculator = new FirstStandardModulusTenCalculator();
     _firstStandardModulusElevenCalculator = new FirstStandardModulusElevenCalculator();
     _doubleAlternateCalculator = new FirstDoubleAlternateCalculator();
     InitialiseRoutingDictionary();
 }
Ejemplo n.º 2
0
 //vocalink test case
 public void CanProcessVocalinkStandardTenCheck()
 {
     var accountDetails = new BankAccountDetails("089999", "66374958");
     accountDetails.WeightMappings = ModulusWeightTable.GetInstance.GetRuleMappings(accountDetails.SortCode);
     var result = new FirstStandardModulusTenCalculator().Process(accountDetails);
     Assert.True(result);
 }
Ejemplo n.º 3
0
 public FirstStepRouter(FirstStandardModulusTenCalculator st, FirstStandardModulusElevenCalculator se,
                        FirstDoubleAlternateCalculator da)
 {
     _firstStandardModulusTenCalculator = st;
     _firstStandardModulusElevenCalculator = se;
     _doubleAlternateCalculator = da;
     InitialiseRoutingDictionary();
 }