| Total Complexity | 5 |
| Total Lines | 50 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class FileFailTest extends AStorageTest |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @throws FilesException |
||
| 13 | */ |
||
| 14 | public function testRead(): void |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @throws FilesException |
||
| 23 | */ |
||
| 24 | public function testSave(): void |
||
| 25 | { |
||
| 26 | $lib = $this->getFileFailLib(); |
||
| 27 | $this->expectException(FilesException::class); |
||
| 28 | $lib->saveFile(['extra.txt'], 'qwertzuiopasdfghjklyxcvbnm0123456789'); |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @throws FilesException |
||
| 33 | */ |
||
| 34 | public function testCopy(): void |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @throws FilesException |
||
| 43 | */ |
||
| 44 | public function testMove(): void |
||
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @throws FilesException |
||
| 53 | */ |
||
| 54 | public function testDelete(): void |
||
| 59 | } |
||
| 60 | } |
||
| 61 |