/** * @test */ public function getMetadataReturnsNullIfNoDataExistsForKey() { $fileName = PATH_site . 'typo3temp/' . $this->getUniqueId('test_'); touch($fileName); $this->testFilesToDelete[] = $fileName; $resource = fopen($fileName, 'r+'); $this->stream->attach($resource); $this->assertNull($this->stream->getMetadata('TOTALLY_MADE_UP')); }