/** * 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); }