You are here

public function FilesLoaderTest::testCallsActualFileLoaderForMetadata in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/validator/Tests/Mapping/Loader/FilesLoaderTest.php \Symfony\Component\Validator\Tests\Mapping\Loader\FilesLoaderTest::testCallsActualFileLoaderForMetadata()

File

vendor/symfony/validator/Tests/Mapping/Loader/FilesLoaderTest.php, line 25

Class

FilesLoaderTest

Namespace

Symfony\Component\Validator\Tests\Mapping\Loader

Code

public function testCallsActualFileLoaderForMetadata() {
  $fileLoader = $this
    ->getFileLoader();
  $fileLoader
    ->expects($this
    ->exactly(4))
    ->method('loadClassMetadata');
  $loader = $this
    ->getFilesLoader($fileLoader);
  $loader
    ->loadClassMetadata(new ClassMetadata('Symfony\\Component\\Validator\\Tests\\Fixtures\\Entity'));
}