public function testReturnsEmptyMetadata() { $s = new AppendStream(); $this->assertEquals([], $s->getMetadata()); $this->assertNull($s->getMetadata('foo')); }