public function testRepeatableParam() { $specs = array(array('name' => 'eat', 'param' => 'fruit', 'repeat' => true)); $args = new PhutilArgumentParser(array('bin', '--eat', 'apple', '--eat', 'pear', '--eat=orange')); $args->parseFull($specs); $this->assertEqual(array('apple', 'pear', 'orange'), $args->getArg('eat')); }