You are here

public function MessageSelectorTest::testChoose in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/translation/Tests/MessageSelectorTest.php \Symfony\Component\Translation\Tests\MessageSelectorTest::testChoose()

@dataProvider getChooseTests

File

vendor/symfony/translation/Tests/MessageSelectorTest.php, line 21

Class

MessageSelectorTest

Namespace

Symfony\Component\Translation\Tests

Code

public function testChoose($expected, $id, $number) {
  $selector = new MessageSelector();
  $this
    ->assertEquals($expected, $selector
    ->choose($id, $number, 'en'));
}