public function testThrowsAnExceptionIfInvalidParserIsPassed() { new ParserRegistry([new \stdClass()]); }