You are here

public function ClassMapGeneratorTest::testDump in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/class-loader/Tests/ClassMapGeneratorTest.php \Symfony\Component\ClassLoader\Tests\ClassMapGeneratorTest::testDump()

@dataProvider getTestCreateMapTests

File

vendor/symfony/class-loader/Tests/ClassMapGeneratorTest.php, line 50

Class

ClassMapGeneratorTest

Namespace

Symfony\Component\ClassLoader\Tests

Code

public function testDump($directory) {
  $this
    ->prepare_workspace();
  $file = $this->workspace . '/file';
  $generator = new ClassMapGenerator();
  $generator
    ->dump($directory, $file);
  $this
    ->assertFileExists($file);
  $this
    ->clean($this->workspace);
}