FieldHasValue is a datatype for an assertion that an event output from a parser test case has an expected value for a given field.

This datatype is used by the datatype, ParserTestCaseOutputAssertions, which is used by ParserTestCaseAssertionsForOutput, which in turn is used by ParserTestCase, which is ultimately used by a few mutations and queries

Table: FieldHasValue

ParameterTypeRequiredDefaultStabilityDescription
Some input parameters may be required, as indicated in the Required column. For return values, this indicates that you are assured a value if the field is requested for the results.
Table last updated: Sep 25, 2024
expectedValuestringyes Long-TermThe value expected to be contained in the field.
fieldNamestringyes Long-TermThe field on which to assert.