Bob\Test\ApplicationTest::testLoadCustomRootConfig PHP Method

testLoadCustomRootConfig() public method

    function testLoadCustomRootConfig()
    {
        $cwd = getcwd();
        chdir(__DIR__ . '/fixtures');
        $this->application['config.file'] = "Bobfile.php";
        $this->application->init();
        $this->assertTrue($this->application->taskDefined('foobar'));
        $this->assertContains(__DIR__ . '/fixtures/Bobfile.php', $this->application->loadedConfigs);
        chdir($cwd);
    }