You are here

public function ValidatorBuilderTest::testSetTranslator in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/ValidatorBuilderTest.php \Symfony\Component\Validator\Tests\ValidatorBuilderTest::testSetTranslator()

File

vendor/symfony/validator/Tests/ValidatorBuilderTest.php, line 100

Class

ValidatorBuilderTest

Namespace

Symfony\Component\Validator\Tests

Code

public function testSetTranslator() {
  $this
    ->assertSame($this->builder, $this->builder
    ->setTranslator($this
    ->getMock('Symfony\\Component\\Translation\\TranslatorInterface')));
}