/** * testLock * * @since 3.0.0 */ public function testLock() { /* setup */ $this->_config->init(Stream::url('root/config.php')); $this->_request->setServer('argv', ['console.php', 'config', 'lock']); $configCommand = new Command\Config($this->_registry, $this->_request, $this->_config); /* actual */ $actual = $configCommand->run('cli'); /* compare */ $this->assertTrue($actual); }