You are here

protected function ParserTest::setUp in Zircon Profile 8

Same name in this branch
  1. 8 vendor/sebastian/diff/tests/ParserTest.php \SebastianBergmann\Diff\ParserTest::setUp()
  2. 8 vendor/symfony/yaml/Tests/ParserTest.php \Symfony\Component\Yaml\Tests\ParserTest::setUp()
Same name and namespace in other branches
  1. 8.0 vendor/sebastian/diff/tests/ParserTest.php \SebastianBergmann\Diff\ParserTest::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/sebastian/diff/tests/ParserTest.php, line 22

Class

ParserTest

Namespace

SebastianBergmann\Diff

Code

protected function setUp() {
  $this->parser = new Parser();
}