示例#1
0
 public function teardown()
 {
     parent::teardown();
     if ($this->useDatabase) {
         $this->teardownDb();
     }
 }
示例#2
0
 /**
  * Teardown method.
  **/
 public function teardown()
 {
     $this->rollback();
     $this->repo = null;
     $this->service = null;
     parent::teardown();
 }