public PullerStrategies(VkApiProvider vkApi, JsApiProvider jsApi) { _actualContentPullerStrategy = new VkActualContentPullerStrategy(vkApi.WallGet); _actualTimePeriodContentPullerStrategy = new VkActualTimePeriodContentPullerStrategy(vkApi.WallGet); _postponedContentPullerStrategy = new VkPostponedContentPullerStrategy(vkApi.WallGet); _historyContentPullerStrategy = new HistoryContentPullerStrategy(jsApi.GetPosts); }
public void Setup() { var handler = new FakeResponseHandler(); var historysettings = new HistorySettings { Use = true, Url = "whatever.com", Port = 3000 }; var jsApi = new JsApi(handler, historysettings); _apiProvider = new JsApiProvider(jsApi); }