You are here

public function ValidatorBuilderTest::testSetTranslator in Plug 7

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/ValidatorBuilderTest.php, line 101

Class

ValidatorBuilderTest

Namespace

Symfony\Component\Validator\Tests

Code

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