public YoutubeResultsSearchTermApiTests()
        {
            _serviceProvider = new YoutubeServiceProviderMock();
            _repository      = new YoutubeResultsRepositoryMock();

            _lookup     = new YoutubeLookupService(_serviceProvider, _repository);
            _controller = new SearchController(_lookup);
        }
Exemplo n.º 2
0
 public SearchController(IYoutubeLookupService lookup)
 {
     _lookup = lookup;
 }