public function testCanGetContentsWithoutSeeking() { $a = Psr7\stream_for('foo_bar'); $b = new NoSeekStream($a); $c = new LimitStream($b); $this->assertEquals('foo_bar', $c->getContents()); }