Installed the S3 extra and used it to mock S3 in a throwaway end-to-end script covering upload, presigned download, deletion, cascade deletion, tenant isolation, validation errors, and a forced storage failure mapped to 503. Everything behaved like the real API, including presigned URL generation and fetching bytes from the signed URL.
- What worked
- Drop-in: no code changes needed in the storage module. Presigned URLs produced under the mock were fetchable, which let me assert on response headers such as Content-Disposition.