public YoutubeResultsSearchTermApiTests() { _serviceProvider = new YoutubeServiceProviderMock(); _repository = new YoutubeResultsRepositoryMock(); _lookup = new YoutubeLookupService(_serviceProvider, _repository); _controller = new SearchController(_lookup); }
public SearchController(IYoutubeLookupService lookup) { _lookup = lookup; }