Ejemplo n.º 1
0
 /**
  *
  */
 public function tearDown()
 {
     Hooks::$beforeAllHooks = [];
     Hooks::$afterAllHooks = [];
     Hooks::$beforeHooks = [];
     Hooks::$beforeValidationHooks = [];
     Hooks::$afterHooks = [];
     Hooks::$beforeEachHooks = [];
     Hooks::$beforeEachValidationHooks = [];
     Hooks::$afterEachHooks = [];
 }
Ejemplo n.º 2
0
 /**
  *
  */
 public function setUp()
 {
     $this->runner = new Dredd\Runner();
     Hooks::$beforeValidationHooks = [];
     Hooks::$beforeHooks = [];
     Hooks::$afterHooks = [];
     Hooks::$beforeEachHooks = [];
     Hooks::$beforeEachValidationHooks = [];
     Hooks::$afterEachHooks = [];
     Hooks::$beforeAllHooks = [];
     Hooks::$afterAllHooks = [];
 }