Redaxscript\Tests\Console\Command\ConfigTest::testParseInvalid PHP Method

testParseInvalid() public method

testParseInvalid
Since: 3.0.0
public testParseInvalid ( )
    public function testParseInvalid()
    {
        /* setup */
        $this->_config->init(Stream::url('root/config.php'));
        $this->_request->setServer('argv', ['console.php', 'config', 'parse', '--no-interaction']);
        $configCommand = new Command\Config($this->_registry, $this->_request, $this->_config);
        /* actual */
        $actual = $configCommand->run('cli');
        /* compare */
        $this->assertFalse($actual);
    }