public when_adding_bands_to_the_cache()
 {
     _repository = new CacheDataRepository();
     _band = new Band();
     _clearing = new ClearData(_repository);
     _readRepository = new DataProviderRepository();
 }
        public when_refreshing_objects_in_the_cache()
        {
            _repository = new CacheDataRepository();
            _readRepository = new DataProviderRepository();

            _clearing = new ClearData(_repository);
            _refreshing = new RefreshData(_repository);
        }
        public when_adding_sale_data_to_the_cache()
        {
            _repository = new CacheDataRepository();
            _sale = new Sale();
            _clearing = new ClearData(_repository);
            _readRepository = new DataProviderRepository();

        }
 public CacheConsumer(IHandleClearingData clear, IHandleRefreshingData refresh)
 {
     _clear = clear;
     _refresh = refresh;
 }
 public RefreshCache(IHandleClearingData clear, IHandleRefreshingData refresh)
 {
     _clear = clear;
     _refresh = refresh;
     _log = LogManager.GetLogger(GetType());
 }