private void Given_a_one_page_feed_with_three_entries() { processorSpy = new FakeEventProcessor(); fakeHttpClient = new FakeHttpClient(); OnePageFeed.Version1.ConfigureFakeHttpClient(fakeHttpClient); client = new Client(OnePageFeed.Version1.RecentFeedUri, processorSpy, fakeHttpClient); }
private void Given_a_one_page_feed() { processor = new FakeEventProcessor(); var fakeHttpClient = new FakeHttpClient(); OnePageFeed.Version1.ConfigureFakeHttpClient(fakeHttpClient); client = new Client(OnePageFeed.Version1.RecentFeedUri, processor, fakeHttpClient); }
private void Given_a_multi_page_feed() { processor = new FakeEventProcessor(); var httpClient = new FakeHttpClient(); RestbucksFeed.Version1.ConfigureFakeHttpClient(httpClient); client = new Client(RestbucksFeed.Version1.RecentFeedUri, processor, httpClient); }
private void Given_a_multi_page_feed_with_fourteen_entries() { processorSpy = new FakeEventProcessor(); resourceClient = new FakeHttpClient(); RestbucksFeed.Version1.ConfigureFakeHttpClient(resourceClient); client = new Client(RestbucksFeed.Version1.RecentFeedUri, processorSpy, resourceClient); }