public ShippingCalculationTests()
        {
            IShippingCostsLookup costsLookup = new AlternateShippingCostsLookup();
            IShippingZonesLookup zonesLookup = new AlternateShippingZonesLookup();

            calc = new Calculator(zonesLookup, costsLookup);
        }
Beispiel #2
0
        public AlternateAjaxControllerTest()
        {
            IConfigurationWrapper config      = new DefaultConfigurationWrapper();
            IShippingCostsLookup  costsLookup = new AlternateShippingCostsLookup();
            IShippingZonesLookup  zonesLookup = new AlternateShippingZonesLookup();

            controller = new AjaxController(costsLookup, zonesLookup, config);
        }
 public AlternateShippingCostsServiceClientTests()
 {
     _serviceClient = new AlternateShippingCostsLookup();
 }