public function MessageSelectorTest::testReturnMessageIfExactlyOneStandardRuleIsGiven in Plug 7
File
- lib/
Symfony/ translation/ Tests/ MessageSelectorTest.php, line 28
Class
Namespace
Symfony\Component\Translation\TestsCode
public function testReturnMessageIfExactlyOneStandardRuleIsGiven() {
$selector = new MessageSelector();
$this
->assertEquals('There are two apples', $selector
->choose('There are two apples', 2, 'en'));
}