I suspect that the issue will need to be tested at the integration test level.
Attach a file by drag & drop or click to upload