Example #1
0
 /**
  * @return mixed
  */
 public function getArgumentList()
 {
     $input = new \Peanut\Console\Input();
     return $input->getArgumentList();
 }
Example #2
0
 /**
  * @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());
 }