public void GetAmountOfResultsInSearchErrorWithArguments() { Throws <ArgumentException>(() => { var result = SearchEngine.GetAmountOfResultsInSearch(string.Empty).Result; }, "There are not parameters to search."); }