/** * @return mixed */ public function getArgumentList() { $input = new \Peanut\Console\Input(); return $input->getArgumentList(); }
/** * @dataProvider additionLongProvider */ public function testLongInput($argv) { $expected = ['compose', '--file', 'compose.yml', '--project', 'default', 'up', '--detach']; $input = new \Peanut\Console\Input($argv); $this->assertEquals($expected, $input->getArgumentList()); }