public void ThenTheResponseIncludesValuesFor(Table table) { foreach (var result in SearchResults.Results) { string json = JsonConvert.SerializeObject(result, Formatting.Indented); foreach (var text in table.Rows[0].Values) { JsonHelper.CheckJsonPropertyHasValue(json, text).Should().BeTrue(); } } }