public function testThrowsAnExceptionIfNoDecoratedParserIsFound() { $token = new Token('', new TokenType(TokenType::DYNAMIC_ARRAY_TYPE)); $parser = new DynamicArrayTokenParser(); $parser->parse($token); }