/** * @covers \Phinx\Config\Config::getEnvironment */ public function testHasEnvironmentMethod() { $configArray = $this->getConfigArray(); $config = new Config($configArray); $this->assertTrue($config->hasEnvironment('testing')); $this->assertFalse($config->hasEnvironment('fakeenvironment')); }