/** * tear down test env * * @return void * @author Dan Cox */ public function tearDown() { $register = new DICompilerPassRegister(); $register->clear(); }
/** * Tear down test class * * @return void * @author Dan Cox */ public function tearDown() { \Mockery::close(); // Clear the mocks $library = new ServiceMockeryLibrary(); $library->clear(); $extensions = new \Wasp\DI\ExtensionRegister(); $extensions->clearExtensions(); DICompilerPassRegister::clear(); }