public void SetUp() { _routeService = new RouteService(); _addressFinderService = new AddressFinderService(); _calculateTotalOfRouteService = new CalculateTotalOfRouteService(_routeService, _addressFinderService); _modelFactory = new ModelFactory(_addressFinderService); }
public CalculateTotalOfRouteService(IRouteService routeService, IAddressFinderService addressFinderService) { _routeService = routeService; _addressFinderService = addressFinderService; }
public ModelFactory(IAddressFinderService addressFinderService) { _addressFinderService = addressFinderService; }