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

testNoArgument() public method

testNoArgument
Since: 3.0.0
public testNoArgument ( )
    public function testNoArgument()
    {
        /* setup */
        $statusCommand = new Command\Status($this->_registry, $this->_request, $this->_config);
        /* expect and actual */
        $expect = $statusCommand->getHelp();
        $actual = $statusCommand->run('cli');
        /* compare */
        $this->assertEquals($expect, $actual);
    }