The ParserTestCaseInput is used to input assertions on the shape of a given test case output event.

Table: ParserTestCaseInput

ParameterTypeRequired[a]DefaultDescription
fieldsNotPresent[string]yes Names of fields which should not be present on the output event.
fieldsHaveValues[FieldHasValueInput]yes Names of fields and their expected value on the output event. These are key-value pairs, and should be treated as a map-construct. See FieldHasValueInput Table.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.