Fields() public method

List of fields values that should be returned in the result assuming that they were indexed.
public Fields ( ) : SearchQuery
return SearchQuery
 public void Test_Fields_WhenEmpty_ThrowsException()
 {
     SearchQuery fc = new SearchQuery();
     fc.Index = "beer-ft";
     fc.Highlighting(HighLightStyle.Html);
     Assert.Throws<ArgumentNullException>(() => fc.Fields());
 }
 public void Test_SupportsFields()
 {
     //will not throw ArgumentNullException
     SearchQuery fc = new SearchQuery();
     fc.Index = "beer-ft";
     fc.Highlighting(HighLightStyle.Html);
     fc.Fields("name", "style");
 }