public void Search_SearchTerm_Null()
        {
            SearchEnginesTestService = new MockSearchEnginesService(SearchEnginesTestList);
            SearchController searchController = new SearchController(SearchEnginesTestService);
            var result = searchController.BuildResults(null);

            Assert.IsFalse(result.Values.Any(V => V > 0), "There were results from search");
        }
        public void Search_HappyPath()
        {
            SearchTerm = "java";
            SearchEnginesTestService = new MockSearchEnginesService(SearchEnginesTestList);
            SearchController searchController = new SearchController(SearchEnginesTestService);
            var result = searchController.BuildResults(SearchTerm);

            Assert.IsTrue(result.Values.Count > 0, "There were no results from search.");
        }
        public void Search_SearchEngineNames_Empty()
        {
            SearchTerm               = "java";
            SearchEnginesTestList    = new List <ISearchEngine>();
            SearchEnginesTestService = new MockSearchEnginesService(SearchEnginesTestList);
            SearchController searchController = new SearchController(SearchEnginesTestService);
            var result = searchController.BuildResults(SearchTerm);

            Assert.IsFalse(result.Values.Count > 0, "There were results from search");
        }