File Storage Service (Tests\Unit\Storage\FileStorageService) [x] Resolve key with sub folder [x] Resolve key without sub folder [x] Upload module file stores policy pdf [x] Read write and delete by module [x] Get local path for processing points to writable file [x] Cleanup temp path removes s 3 style temp file only [x] Copy between keys [x] Download returns attachment response [x] Get temporary url for local uses base url Local Storage Driver (Tests\Unit\Storage\LocalStorageDriver) [x] Upload from uploaded file stores under local root [x] Upload from local path copies file [x] Put write raw contents [x] Exists returns false for missing file [x] Delete removes file [x] Download to temp returns existing local path [x] Copy duplicates file [x] Temporary url uses base url for local driver [x] Stream download returns response with body Policy Storage Helper (Tests\Unit\Storage\PolicyStorageHelper) [x] Policy file type map contains expected types [x] Policy md file name converts pdf to md [x] Policy upload pdf stores file [x] Policy upload receipt stores file [x] Policy upload returns null when no file [x] Policy exists by type returns false for invalid type [x] Policy download by type attachment [x] Policy download by type inline [x] Policy download by type throws for invalid type [x] Policy local pdf path resolves stored pdf [x] Policy markdown put read and exists