Ejemplo n.º 1
0
 public function testIsReadableReturnsFalseWhenStreamIsNotReadable()
 {
     $resource = Stream::fopen('php://temp', 'w');
     $stream = new Stream($resource);
     $this->assertFalse($stream->isReadable());
 }