Inheritance: DoubleAlternateCalculator
 public void Setup()
 {
     var mappingSource = new Mock<IRuleMappingSource>();
     mappingSource.Setup(ms => ms.GetModulusWeightMappings()).Returns(new List<IModulusWeightMapping>
                                                                          {
                                                                              new ModulusWeightMapping(
                                                                                  "230872 230872 DBLAL    2    1    2    1    2    1    2    1    2    1    2    1    2    1"),
                                                                                  new ModulusWeightMapping(
                                                                                  "499273 499273 DBLAL    2   1    2    1    2    1    2    1    2    1    2    1    2    1   "),
                                                                              new ModulusWeightMapping(
                                                                                  "499273 499273 DBLAL    2   1    2    1    2    1    2    1    2    1    2    1    2    1   "),
                                                                                  new ModulusWeightMapping(
                                                                                  "200000 200002 DBLAL    2    1    2    1    2    1    2    1    2    1    2    1    2    1   6")
                                                                          });
     _fakedModulusWeightTable = new Mock<IModulusWeightTable>();
     _fakedModulusWeightTable.Setup(fmwt => fmwt.RuleMappings).Returns(mappingSource.Object.GetModulusWeightMappings().ToList());
     _fakedModulusWeightTable.Setup(fmwt => fmwt.GetRuleMappings(new SortCode("499273")))
         .Returns(new List<IModulusWeightMapping>
                      {
                          new ModulusWeightMapping
                              ("499273 499273 DBLAL    2   1    2    1    2    1    2    1    2    1    2    1    2    1   "),
                          new ModulusWeightMapping
                              ("499273 499273 DBLAL    2   1    2    1    2    1    2    1    2    1    2    1    2    1   ")
                      });
     _fakedModulusWeightTable.Setup(fmwt => fmwt.GetRuleMappings(new SortCode("118765")))
         .Returns(new List<IModulusWeightMapping>
                      {
                          new ModulusWeightMapping
                              ("110000 119280 DblAl    0   0    2    1    2    1    2    1    2    1    2    1    2    1   1")
                      });
     _firstStepDblAlCalculator = new FirstDoubleAlternateCalculator();
     _secondStepDblAlCalculator = new SecondDoubleAlternateCalculator();
 }
 public SecondStepRouter()
 {
     _secondStandardModulusTenCalculator = new SecondStandardModulusTenCalculator();
     _secondStandardModulusElevenCalculator = new SecondStandardModulusElevenCalculator();
     _secondDoubleAlternateCalculator = new SecondDoubleAlternateCalculator();
     InitialiseRoutingDictionary();
 }
 public SecondStepRouter(SecondStandardModulusTenCalculator smtc, SecondStandardModulusElevenCalculator smte,
                         SecondDoubleAlternateCalculator sdac)
 {
     _secondStandardModulusTenCalculator = smtc;
     _secondStandardModulusElevenCalculator = smte;
     _secondDoubleAlternateCalculator = sdac;
     InitialiseRoutingDictionary();
 }
 public SecondModulusCalculatorStep(SecondStandardModulusTenCalculator secondStandardModulusTenCalculator,
                                    SecondStandardModulusElevenCalculator secondStandardModulusElevenCalculator,
                                    SecondDoubleAlternateCalculator secondDoubleAlternateCalculator,
                                    DoubleAlternateCalculatorExceptionFive daf)
 {
     _secondStepRouter = new SecondStepRouter(secondStandardModulusTenCalculator,
                                              secondStandardModulusElevenCalculator,
                                              secondDoubleAlternateCalculator);
 }