Example #1
0
        public FeedComposer(ILocalFeedsProvider localFeedsProvider, IFeedMixer feedMixer, IFeedAggregatorConfigProvider configProvider)
        {
            _localFeedsProvider = localFeedsProvider;
            _feedMixer          = feedMixer;

            _config = configProvider.ProvideConfig();
        }
        public composing_result_feed()
        {
            _feedsProvider         = new TestFeedsProvider();
            _feedMixer             = A.Fake <IFeedMixer>();
            _configurationProvider = new TestConfigurationProvider();

            _composer = new FeedComposer(_feedsProvider, _feedMixer, _configurationProvider);
        }