コード例 #1
0
 public function tearDown()
 {
     // your tear down methods here
     // then
     parent::tearDown();
     Test::tearDown();
 }
コード例 #2
0
 /**
  * @test
  * it should backup and restore a global variable value at tear down
  */
 public function it_should_backup_and_restore_a_global_variable_value_at_tear_down()
 {
     $GLOBALS['xyz'] = 200;
     Test::setGlobal('xyz', 23);
     global $xyz;
     $this->assertEquals(23, $xyz);
     Test::tearDown();
     $this->assertEquals(200, $GLOBALS['xyz']);
 }
コード例 #3
0
 public function tearDown()
 {
     FunctionMocker::tearDown();
 }
コード例 #4
0
 public function tearDown()
 {
     Test::tearDown();
 }
コード例 #5
0
 public function tearDown()
 {
     Sut::tearDown();
 }