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