private function TranslationDataCollectorTest::getTranslator in Plug 7
2 calls to TranslationDataCollectorTest::getTranslator()
- TranslationDataCollectorTest::testCollect in lib/
Symfony/ translation/ Tests/ DataCollector/ TranslationDataCollectorTest.php - TranslationDataCollectorTest::testCollectEmptyMessages in lib/
Symfony/ translation/ Tests/ DataCollector/ TranslationDataCollectorTest.php
File
- lib/
Symfony/ translation/ Tests/ DataCollector/ TranslationDataCollectorTest.php, line 111
Class
Namespace
Symfony\Component\Translation\Tests\DataCollectorCode
private function getTranslator() {
$translator = $this
->getMockBuilder('Symfony\\Component\\Translation\\DataCollectorTranslator')
->disableOriginalConstructor()
->getMock();
return $translator;
}