public function testEnv()
{
$collection = TestUtil::createCollection([['env' => ['vcs' => ['branch' => 'my_branch', 'version' => 'a1b2c3d4'], 'uname' => ['os' => 'Linux', 'version' => '4.2.0']]]]);
$report = $this->generator->generate($collection, new Config('foo', []));
$this->assertXPathCount($report, 3, '//col');
$this->assertXPathCount($report, 1, '//table[contains(@title, "Suite #0")]');
$this->assertXPathCount($report, 4, '//row');
$this->assertXPathCount($report, 12, '//cell');
$this->assertXPathCount($report, 2, '//row[cell[@name="provider"] = "vcs"]');
$this->assertXPathCount($report, 1, '//row[cell[@name="key"] = "branch"]');
$this->assertXPathCount($report, 1, '//row[cell[@name="value"] = "my_branch"]');
}