Given TGR set default header "Content-Type" to "application/fhir+json"
When TGR send POST request to "http://fhirserver/DocumentReference" with body "!{file('src/test/resources/features/Stufe5/Dokumentenaustausch/fixtures/<inputFile>')}"
And TGR find the last request
Then TGR current response with attribute "$.responseCode" matches "<responseCode>"
And FHIR current response body evaluates the FHIRPath "issue.where(severity = 'error' or 'fatal').count() >= 1" with error message 'The OperationOutcome does not contain the required issue(s)'