Наследование: implements Nelmio\Alice\FixtureBuilder\ExpressionLanguage\LexerInterface, use trait Nelmio\Alice\IsAServiceTrait
Пример #1
0
 /**
  * @expectedException \InvalidArgumentException
  * @expectedExceptionMessage Invalid token "<foo>" found.
  */
 public function testThrowsAnExceptionWhenAnInvalidValueIsGiven()
 {
     $lexer = new SubPatternsLexer(new FakeLexer());
     $lexer->lex('<foo>');
 }