/** * Method to test isReadable(). * * @return void * * @covers \Windwalker\Http\Stream::isReadable */ public function testIsReadable() { $this->createTempFile(); $stream = new Stream($this->tmpnam, Stream::MODE_WRITE_ONLY_RESET); $this->assertFalse($stream->isReadable()); }