コード例 #1
0
ファイル: ContainerTest.php プロジェクト: respect/config
 public function tearDown()
 {
     StreamWrapper::releaseOverrides();
 }
コード例 #2
0
 /**
  * Tearing thing down once test execution is done.
  */
 protected function tearDown()
 {
     StreamWrapper::releaseOverrides();
     $this->object->__destruct();
     $this->object = null;
 }
コード例 #3
0
 /**
  * Tearing thing down once test execution is done.
  */
 protected function tearDown()
 {
     StreamWrapper::releaseOverrides();
     stream_wrapper_restore('file');
     $this->object = null;
 }
コード例 #4
0
ファイル: StreamWrapperTest.php プロジェクト: respect/test
 /**
  * @covers Respect\Test\StreamWrapper::__call
  * @expectedException Exception
  * @expectedExceptionMessage First inject stream overrides.
  */
 public function test__callInjectionRequired()
 {
     StreamWrapper::releaseOverrides();
     $sw = new StreamWrapper();
     $sw->unknown();
 }