public DataServiceFactory(ILocationContextFactory dataContextFactory, IAppSettingsProvider appSettingsProvider, IWebClient webClient, IBitmapConverter bitmapConverter, IMiniaturesCache miniaturesCache) { _dataContextFactory = dataContextFactory; _appSettingsProvider = appSettingsProvider; _webClient = webClient; _bitmapConverter = bitmapConverter; _miniaturesCache = miniaturesCache; }
private void SetUp() { _factory = Substitute.For <ILocationContextFactory>(); _context = Substitute.For <ILocationContext>(); _factory.Create().Returns(_context); }
public LocationDataService(ILocationContextFactory dataContextFactory) { _dataContextFactory = dataContextFactory; }