public function testVariableTokenWithChoices() { $component = RuleParser::parseToken(':news[ab|cd]'); $this->checkComponent($component, 'news', true, array('ab', 'cd')); }