public IRetrieveValuationFromMetrics SetupDataSources() { _getStatistics = new StatisticsQuery(new FakeStatisticsRepository()); _getMetrics = new MetricQuery(new FakeMetricRepository()); _getBands = new BandQuery(new FakeBandsRepository()); _getMuncipalities = new MuncipalityQuery(new FakeMunicipalityRepository()); _getMakes = new MakeQuery(new FakeMakeRepository()); _getSales = new SaleQuery(new FakeSaleRepository()); return this; }
public IRetrieveValuationFromMetrics SetupDataSources() { _getStatistics = new StatisticsQuery(_repository); _getMetrics = new MetricQuery(_repository); _getBands = new BandQuery(_repository); _getMuncipalities = new MuncipalityQuery(_repository); _getMakes = new MakeQuery(_repository); //_getCarType = new CarTypeUnitOfWork(_getStatistics.Statistics); _getSales = new SaleQuery(_repository); return this; }
public when_getting_bands() { _repository = new FakeBandsRepository(); _getBands = new BandQuery(_repository); _request = LaceRequestCarInformationRequestBuilder.ForCarId_107483(); }