예제 #1
0
 /**
  * Class init.
  *
  * @param CliInputInterface  $input
  * @param CliOutputInterface $output
  */
 public function __construct(CliInputInterface $input = null, CliOutputInterface $output = null)
 {
     parent::__construct($input, new MockOutput());
 }
예제 #2
0
 /**
  * Method to test popArgument().
  *
  * @return void
  *
  * @covers Windwalker\Console\IO\IO::popArgument
  */
 public function testPopArgument()
 {
     $this->instance->popArgument();
     $this->assertEquals(array('foo', 'bar'), $this->instance->getArguments());
 }