public function testEnvironmentReportCreation() { $result = $this->report->createEnvironmentReport($this->container->getParameter('kernel.environment')); $this->assertCount(3, $result); $this->assertEquals('babymarkt:test:command1', $result[0]['command']); $this->assertEquals('-', $result[2]['command']); $result = $this->report->createEnvironmentReport('other'); $this->assertCount(0, $result); }