You are here

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

TranslationDataCollectorTest

Namespace

Symfony\Component\Translation\Tests\DataCollector

Code

private function getTranslator() {
  $translator = $this
    ->getMockBuilder('Symfony\\Component\\Translation\\DataCollectorTranslator')
    ->disableOriginalConstructor()
    ->getMock();
  return $translator;
}