Redaxscript\Tests\Console\Command\StatusTest::testSystem PHP Method

testSystem() public method

testSystem
Since: 3.0.0
public testSystem ( )
    public function testSystem()
    {
        /* setup */
        $this->_registry->set('apacheModuleArray', ['mod_deflate', 'mod_headers', 'mod_rewrite']);
        $this->_request->setServer('argv', ['console.php', 'status', 'system']);
        $statusCommand = new Command\Status($this->_registry, $this->_request, $this->_config);
        /* actual */
        $actual = $statusCommand->run('cli');
        /* compare */
        $this->assertString($actual);
    }