public function ClassMapGeneratorTest::testDump

@dataProvider getTestCreateMapTests

File

drupal/core/vendor/symfony/class-loader/Symfony/Component/ClassLoader/Tests/ClassMapGeneratorTest.php, line 50

Class

ClassMapGeneratorTest

Namespace

Symfony\Component\ClassLoader\Tests

Code

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