N98\Magento\Command\Config\DumpCommandTest::testExecute PHP Метод

testExecute() публичный Метод

public testExecute ( )
    public function testExecute()
    {
        $application = $this->getApplication();
        $application->add(new DumpCommand());
        $command = $this->getApplication()->find('config:dump');
        $commandTester = new CommandTester($command);
        $commandTester->execute(array('command' => $command->getName(), 'xpath' => 'global/install'));
        $this->assertContains('date', $commandTester->getDisplay());
    }
DumpCommandTest