public function testApiIsOpen_ReturnsTrue_ForOpenStream() { $stream = $this->createStreamMock(); $this->assertTrue($stream->isOpen()); }