Jarves\Tests\Configuration\BundleConfigTest::testFileImport PHP Method

testFileImport() public method

public testFileImport ( )
    public function testFileImport()
    {
        $configs = new Configs($this->getJarves());
        $this->setupFiles();
        $this->assertTrue($this->getJarves()->isActiveBundle('TestsFileImportBundle'));
        $bundle = new TestsFileImportBundle();
        $configStrings = $configs->getXmlConfigsForBundle($bundle);
        $configObjects = $configs->parseConfig($configStrings);
        $testBundleConfig = $configObjects['testsfileimport'];
        $this->assertNotNull($testBundleConfig);
        $this->assertEquals(static::$jarvesXml, $testBundleConfig->getPropertyFilePath('caches'));
        $this->assertEquals(static::$jarvesObjectsXml, $testBundleConfig->getPropertyFilePath('objects'));
        $this->removeFiles();
    }