/** * testModule * * @since 3.0.0 */ public function testModuleInvalid() { /* setup */ $this->_request->setServer('argv', ['console.php', 'install', 'module', '--no-interaction']); $installCommand = new Command\Install($this->_registry, $this->_request, $this->_config); /* actual */ $actual = $installCommand->run('cli'); /* compare */ $this->assertFalse($actual); }