public function testEnvironment()
{
$this->informations['hello'] = new Information('hello', ['say' => 'goodbye']);
$subject = new SubjectMetadata($this->benchmark->reveal(), 'name', 0);
$this->benchmark->getSubjects()->willReturn([$subject]);
TestUtil::configureBenchmarkMetadata($this->benchmark);
$this->executor->execute(Argument::type('PhpBench\\Benchmark\\Metadata\\SubjectMetadata'), Argument::type('PhpBench\\Model\\Iteration'), $this->executorConfig)->shouldBeCalledTimes(1)->will($this->loadIterationResultCallback());
$suite = $this->runner->run(new RunnerContext(__DIR__));
$envInformations = $suite->getEnvInformations();
$this->assertSame((array) $this->informations, (array) $envInformations);
}