Inheritance: extends PHPUnit_Framework_TestCase
Example #1
0
 public static function setUpBeforeClass()
 {
     parent::setUpBeforeClass();
     self::$context = new Context();
 }
Example #2
0
 /**
  * Sets up the fixture, for example, opens a network connection.
  * This method is called before a test is executed.
  */
 protected function setUp()
 {
     parent::setup();
     $this->object = new DebugContext();
 }