Inheritance: implements Nelmio\Alice\ParserInterface, use trait Nelmio\Alice\IsAServiceTrait
Beispiel #1
0
 /**
  * @expectedException \Nelmio\Alice\Throwable\Exception\Parser\ParserNotFoundException
  * @expectedExceptionMessage No suitable parser found for the file "dummy.php".
  */
 public function testThrowsAnExceptionIfNoSuitableParserIsFound()
 {
     $registry = new ParserRegistry([]);
     $registry->parse('dummy.php');
 }