public function testGetMetadataKeyNotFound() { $this->stream = $this->resourceFactory(); $body = new Body($this->stream); $this->assertNull($body->getMetadata('foo')); }