N98\Magento\Command\HelpCommandTest::testExecute PHP Method

testExecute() public method

public testExecute ( )
    public function testExecute()
    {
        $command = $this->getApplication()->find('help');
        $commandTester = new CommandTester($command);
        $commandTester->execute(array('command' => 'help'));
        $this->assertContains('The help command displays help for a given command', $commandTester->getDisplay());
    }
HelpCommandTest