You are here

public function CommandTest::testRunReturnsAlwaysInteger in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tests/Command/CommandTest.php \Symfony\Component\Console\Tests\Command\CommandTest::testRunReturnsAlwaysInteger()

File

vendor/symfony/console/Tests/Command/CommandTest.php, line 270

Class

CommandTest

Namespace

Symfony\Component\Console\Tests\Command

Code

public function testRunReturnsAlwaysInteger() {
  $command = new \TestCommand();
  $this
    ->assertSame(0, $command
    ->run(new StringInput(''), new NullOutput()));
}