You are here

private function TranslatorCacheTest::createFailingLoader in Plug 7

Return value

LoaderInterface

2 calls to TranslatorCacheTest::createFailingLoader()
TranslatorCacheTest::testDifferentTranslatorsForSameLocaleDoNotOverwriteEachOthersCache in lib/Symfony/translation/Tests/TranslatorCacheTest.php
@dataProvider runForDebugAndProduction
TranslatorCacheTest::testThatACacheIsUsed in lib/Symfony/translation/Tests/TranslatorCacheTest.php
@dataProvider runForDebugAndProduction

File

lib/Symfony/translation/Tests/TranslatorCacheTest.php, line 273

Class

TranslatorCacheTest

Namespace

Symfony\Component\Translation\Tests

Code

private function createFailingLoader() {
  $loader = $this
    ->getMock('Symfony\\Component\\Translation\\Loader\\LoaderInterface');
  $loader
    ->expects($this
    ->never())
    ->method('load');
  return $loader;
}