public function testGetMetadataForFile()
{
$this->hierarchy->isEmpty()->willReturn(false);
$this->metadata->getSubjects()->willReturn([]);
TestUtil::configureBenchmarkMetadata($this->metadata);
$metadata = $this->factory->getMetadataForFile(self::FNAME);
$this->assertInstanceOf('PhpBench\\Benchmark\\Metadata\\BenchmarkMetadata', $metadata);
}