You are here

public function MessageSelectorTest::testThrowExceptionIfMatchingMessageCannotBeFound in Plug 7

@dataProvider getNonMatchingMessages @expectedException \InvalidArgumentException

File

lib/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');
}