Пример #1
0
 public function testIsWritableReturnsFalseWhenStreamIsNotWritable()
 {
     $resource = Stream::fopen('php://temp', 'rb');
     $stream = new Stream($resource);
     $this->assertFalse($stream->isWritable());
 }