You are here

public function FilesLoaderTest::testCallsActualFileLoaderForMetadata in Plug 7

File

lib/Symfony/validator/Symfony/Component/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'));
}