You are here

protected function PHP_Token_IncludeTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/php-token-stream/tests/Token/IncludeTest.php \PHP_Token_IncludeTest::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/phpunit/php-token-stream/tests/Token/IncludeTest.php, line 28

Class

PHP_Token_IncludeTest
Tests for the PHP_Token_REQUIRE_ONCE, PHP_Token_REQUIRE PHP_Token_INCLUDE_ONCE and PHP_Token_INCLUDE_ONCE classes.

Code

protected function setUp() {
  $this->ts = new PHP_Token_Stream(TEST_FILES_PATH . 'source3.php');
}