public function IdentityTranslatorTest::testTrans in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/translation/Tests/IdentityTranslatorTest.php \Symfony\Component\Translation\Tests\IdentityTranslatorTest::testTrans()
@dataProvider getTransTests
File
- vendor/
symfony/ translation/ Tests/ IdentityTranslatorTest.php, line 22
Class
Namespace
Symfony\Component\Translation\TestsCode
public function testTrans($expected, $id, $parameters) {
$translator = new IdentityTranslator();
$this
->assertEquals($expected, $translator
->trans($id, $parameters));
}