コード例 #1
0
 /**
  * tear down test env
  *
  * @return void
  * @author Dan Cox
  */
 public function tearDown()
 {
     $register = new DICompilerPassRegister();
     $register->clear();
 }
コード例 #2
0
ファイル: TestCase.php プロジェクト: antoligy/Framework
 /**
  * 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();
 }