public void GetResultOfSearchErrorWithArguments() { Throws <ArgumentException>(() => { var result = ProcessSearch.GetResultOfSearch(null).Result; }, "There are not words to search."); }
public static List <string> GetResultOfSearch(List <string> words) { return(Execute(() => { TraceLogStart("GetResultOfSearch", words); var listResultSearch = ProcessSearch.GetResultOfSearch(words).Result; var listBestResult = ProcessSearch.GetBestResultsInResultSearch(listResultSearch); return ProcessSearch.GetResultOfSearchFight(listResultSearch, listBestResult); })); }