getParsedArguments() public method

public getParsedArguments ( )
Example #1
0
 private function getMixedArguments($name, $comandArgument)
 {
     $mixedArguments = array($this->commandArgument, $name);
     if (!is_null($comandArgument)) {
         $parser = new Parser($comandArgument);
         $mixedArguments[] = $parser->getParsedArguments();
     }
     return implode(' ', $mixedArguments);
 }
Example #2
0
 /**
  * @dataProvider dataProvider
  */
 public function testParser($expected, $arguments)
 {
     $parser = new Parser($arguments);
     $parsedArguments = $parser->getParsedArguments();
     $this->assertEquals($expected, $parsedArguments);
 }