Inheritance: implements Nelmio\Alice\ParserInterface, use trait Nelmio\Alice\IsAServiceTrait
コード例 #1
0
ファイル: ParserRegistryTest.php プロジェクト: nelmio/alice
 /**
  * @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');
 }