Sets up the fixture, for example, open a network connection. This method is called before a test is executed.
Overrides PHPUnit_Framework_TestCase::setUp
protected function setUp() {
  $ts = new PHP_Token_Stream(TEST_FILES_PATH . 'source2.php');
  foreach ($ts as $token) {
    if ($token instanceof PHP_Token_CLASS) {
      $this->class = $token;
    }
    if ($token instanceof PHP_Token_FUNCTION) {
      $this->function = $token;
      break;
    }
  }
}