| Total Complexity | 4 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | trait FileStateExpectations { |
||
| 14 | abstract public function isExist(); |
||
| 15 | |||
| 16 | abstract public function isNotExist(); |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @return $this |
||
| 20 | */ |
||
| 21 | public function isReadable() { |
||
| 22 | $this->isExist(); |
||
| 23 | $this->startStep('is readable') |
||
| 24 | ->assertIsReadable(); |
||
| 25 | return $this; |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return $this |
||
| 30 | */ |
||
| 31 | public function isNotReadable() { |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return $this |
||
| 40 | */ |
||
| 41 | public function isWritable() { |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return $this |
||
| 50 | */ |
||
| 51 | public function isNotWritable() { |
||
| 56 | } |
||
| 57 | } |