You are here

public function CommandTesterTest::testExecute in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tests/Tester/CommandTesterTest.php \Symfony\Component\Console\Tests\Tester\CommandTesterTest::testExecute()

File

vendor/symfony/console/Tests/Tester/CommandTesterTest.php, line 41

Class

CommandTesterTest

Namespace

Symfony\Component\Console\Tests\Tester

Code

public function testExecute() {
  $this
    ->assertFalse($this->tester
    ->getInput()
    ->isInteractive(), '->execute() takes an interactive option');
  $this
    ->assertFalse($this->tester
    ->getOutput()
    ->isDecorated(), '->execute() takes a decorated option');
  $this
    ->assertEquals(Output::VERBOSITY_VERBOSE, $this->tester
    ->getOutput()
    ->getVerbosity(), '->execute() takes a verbosity option');
}