getOptions() public method

public getOptions ( )
Exemplo n.º 1
0
 public function testGetOptions()
 {
     $inputArgs = new ArgsInput($this->rawArgs, $this->args);
     $inputNoArgs = new ArgsInput($this->rawArgs);
     $this->args->setOptions(array('option1' => true));
     $this->assertSame(array('option1' => true, 'option2' => 'default'), $inputArgs->getOptions());
     $this->assertSame(array(), $inputNoArgs->getOptions());
 }