public function testApiIsWritable_ReturnsFalse_ForNotWritableStream() { $stream = $this->createStreamMock(); $stream->close(); $this->assertFalse($stream->isWritable()); }