You are here

public function FilesLoaderTest::getFilesLoader in Plug 7

2 calls to FilesLoaderTest::getFilesLoader()
FilesLoaderTest::testCallsActualFileLoaderForMetadata in lib/Symfony/validator/Symfony/Component/Validator/Tests/Mapping/Loader/FilesLoaderTest.php
FilesLoaderTest::testCallsGetFileLoaderInstanceForeachPath in lib/Symfony/validator/Symfony/Component/Validator/Tests/Mapping/Loader/FilesLoaderTest.php

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Mapping/Loader/FilesLoaderTest.php, line 34

Class

FilesLoaderTest

Namespace

Symfony\Component\Validator\Tests\Mapping\Loader

Code

public function getFilesLoader(LoaderInterface $loader) {
  return $this
    ->getMockForAbstractClass('Symfony\\Component\\Validator\\Tests\\Fixtures\\FilesLoader', array(
    array(
      __DIR__ . '/constraint-mapping.xml',
      __DIR__ . '/constraint-mapping.yaml',
      __DIR__ . '/constraint-mapping.test',
      __DIR__ . '/constraint-mapping.txt',
    ),
    $loader,
  ));
}