Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
30 | public function testFromNotWritableDirectory() : void |
||
31 | { |
||
32 | $exception = FileNotWritableException::fromNotWritableDirectory('/tmp/a'); |
||
33 | |||
34 | self::assertInstanceOf(FileNotWritableException::class, $exception); |
||
35 | self::assertSame( |
||
36 | 'Could not create temp file in directory "/tmp/a" ' |
||
37 | . 'either the directory does not exist, or it is not writable', |
||
38 | $exception->getMessage() |
||
39 | ); |
||
40 | } |
||
41 | } |
||
42 |