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

testNoArgument() public method

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