You are here

private function TranslationDataCollectorTest::getTranslator in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/translation/Tests/DataCollector/TranslationDataCollectorTest.php \Symfony\Component\Translation\Tests\DataCollector\TranslationDataCollectorTest::getTranslator()
2 calls to TranslationDataCollectorTest::getTranslator()
TranslationDataCollectorTest::testCollect in vendor/symfony/translation/Tests/DataCollector/TranslationDataCollectorTest.php
TranslationDataCollectorTest::testCollectEmptyMessages in vendor/symfony/translation/Tests/DataCollector/TranslationDataCollectorTest.php

File

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