N98\Magento\Command\Developer\Theme\InfoCommandTest::testExecute PHP Метод

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

public testExecute ( )
    public function testExecute()
    {
        $application = $this->getApplication();
        $application->add(new ListCommand());
        $command = $this->getApplication()->find('dev:theme:info');
        $commandTester = new CommandTester($command);
        $commandTester->execute(array('command' => $command->getName()));
        $this->assertContains('base/default', $commandTester->getDisplay());
        $this->assertContains('Design Package Name', $commandTester->getDisplay());
    }
InfoCommandTest