| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | public function testFromInvalidMoveOperation() : void |
||
| 19 | { |
||
| 20 | $exception = FileNotWritableException::fromInvalidMoveOperation('/tmp/a', '/tmp/b'); |
||
| 21 | |||
| 22 | self::assertInstanceOf(FileNotWritableException::class, $exception); |
||
| 23 | self::assertSame( |
||
| 24 | 'Could not move file "/tmp/a" to location "/tmp/b": either the source file is not readable,' |
||
| 25 | . ' or the destination is not writable', |
||
| 26 | $exception->getMessage() |
||
| 27 | ); |
||
| 28 | } |
||
| 29 | |||
| 42 |