You are here

private function TranslatorCacheTest::createFailingLoader in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/translation/Tests/TranslatorCacheTest.php \Symfony\Component\Translation\Tests\TranslatorCacheTest::createFailingLoader()

Return value

LoaderInterface

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

File

vendor/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;
}