| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class ResourceOutputStreamTest extends TestCase |
||
| 12 | { |
||
| 13 | public function testNonStream() : void |
||
| 14 | { |
||
| 15 | $this->expectException(\InvalidArgumentException::class); |
||
| 16 | $this->expectExceptionMessage('Expected a valid stream'); |
||
| 17 | new ResourceOutputStream(42); |
||
| 18 | } |
||
| 19 | |||
| 20 | public function testNotWritable() : void |
||
| 25 | } |
||
| 26 | |||
| 27 | public function testWrite() : void |
||
| 37 |