/** * @covers ::__construct * @covers ::readFromDir * @covers ::getLoadedFiles * @covers ::getNamespace */ public function testReadFromDir() { $mocks = $this->provideMocks(); $config = Config::readFromDir($this->configFixturesDir, 'test'); $this->assertEquals(array($this->configFixturesDir . 'config.php', $this->configFixturesDir . 'config.test.php'), $config->getLoadedFiles()); $this->assertEquals($this->resultingConfigArray, $config->getNamespace()); }