Hypernode\Magento\Command\Hypernode\Config\GenerateMapsCommandTest::testExecute PHP Method

testExecute() public method

public testExecute ( )
    public function testExecute()
    {
        $command = $this->getCommand();
        $commandTester = new CommandTester($command);
        $commandTester->execute([]);
        $result = $commandTester->getDisplay();
        $this->assertRegExp('/^(.*?(Mage run maps for Nginx. \\[Byte Hypernode\\] )[^$]*)$/m', $result);
    }