You are here

public function MessageSelectorTest::testThrowExceptionIfMatchingMessageCannotBeFound 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::testThrowExceptionIfMatchingMessageCannotBeFound()

@dataProvider getNonMatchingMessages @expectedException \InvalidArgumentException

File

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

Class

MessageSelectorTest

Namespace

Symfony\Component\Translation\Tests

Code

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