public void SetUp()
 {
     _routeService                 = new RouteService();
     _addressFinderService         = new AddressFinderService();
     _calculateTotalOfRouteService = new CalculateTotalOfRouteService(_routeService, _addressFinderService);
     _modelFactory                 = new ModelFactory(_addressFinderService);
 }
示例#2
0
 public CalculateTotalOfRouteService(IRouteService routeService, IAddressFinderService addressFinderService)
 {
     _routeService         = routeService;
     _addressFinderService = addressFinderService;
 }
示例#3
0
 public void SetUp()
 {
     _routeService = new RouteService();
     _addressFinderService = new AddressFinderService();
     _calculateTotalOfRouteService = new CalculateTotalOfRouteService(_routeService, _addressFinderService);
     _modelFactory = new ModelFactory(_addressFinderService);
 }
示例#4
0
 public ModelFactory(IAddressFinderService addressFinderService)
 {
     _addressFinderService = addressFinderService;
 }
示例#5
0
 public ModelFactory(IAddressFinderService addressFinderService)
 {
     _addressFinderService = addressFinderService;
 }
 public CalculateTotalOfRouteService(IRouteService routeService, IAddressFinderService addressFinderService)
 {
     _routeService = routeService;
     _addressFinderService = addressFinderService;
 }