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