С версии: 3.0.0
Автор: Henry Ruhs
Наследование: extends CommandAbstract
Пример #1
0
 /**
  * testSetInvalid
  *
  * @since 3.0.0
  */
 public function testSetInvalid()
 {
     /* setup */
     $this->_request->setServer('argv', ['console.php', 'setting', 'set', '--no-interaction']);
     $settingCommand = new Command\Setting($this->_registry, $this->_request, $this->_config);
     /* actual */
     $actual = $settingCommand->run('cli');
     /* compare */
     $this->assertFalse($actual);
 }