private function TranslatorCacheTest::createFailingLoader in Plug 7
Return value
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
Namespace
Symfony\Component\Translation\TestsCode
private function createFailingLoader() {
$loader = $this
->getMock('Symfony\\Component\\Translation\\Loader\\LoaderInterface');
$loader
->expects($this
->never())
->method('load');
return $loader;
}