Exemple #1
0
        public void MainPresenter_GetReceiverFeeds_Excludes_Merged_Feeds()
        {
            var mergedFeedListeners = new List <Mock <IMergedFeedListener> >();

            FeedHelper.AddMergedFeeds(_Feeds, mergedFeedListeners, 3);

            var feeds = _Presenter.GetReceiverFeeds();

            Assert.AreEqual(2, feeds.Length);
            Assert.IsTrue(feeds.Contains(_Feeds[0].Object));
            Assert.IsTrue(feeds.Contains(_Feeds[1].Object));
        }