You are here

public function IdentityTranslatorTest::testTrans in Plug 7

@dataProvider getTransTests

File

lib/Symfony/translation/Tests/IdentityTranslatorTest.php, line 22

Class

IdentityTranslatorTest

Namespace

Symfony\Component\Translation\Tests

Code

public function testTrans($expected, $id, $parameters) {
  $translator = new IdentityTranslator();
  $this
    ->assertEquals($expected, $translator
    ->trans($id, $parameters));
}