Contao\CoreBundle\Test\Config\Dumper\CombinedFileDumperTest::testDumpWithNamespace PHP Method

testDumpWithNamespace() public method

Tests dumping a file with namespace declaration.
    public function testDumpWithNamespace()
    {
        $dumper = new CombinedFileDumper($this->mockFilesystem("<?php\n\nnamespace {\necho 'test';\n\n}\n"), $this->mockLoader(), $this->getCacheDir(), true);
        $dumper->dump(['test.php'], 'test.php');
    }