You are here

protected function SymfonyStyleTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tests/Style/SymfonyStyleTest.php \Symfony\Component\Console\Tests\Style\SymfonyStyleTest::setUp()

Sets up the fixture, for example, open a network connection. This method is called before a test is executed.

Overrides PHPUnit_Framework_TestCase::setUp

File

vendor/symfony/console/Tests/Style/SymfonyStyleTest.php, line 19

Class

SymfonyStyleTest

Namespace

Symfony\Component\Console\Tests\Style

Code

protected function setUp() {
  $this->command = new Command('sfstyle');
  $this->tester = new CommandTester($this->command);
}