Пример #1
0
 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
 /**
  * @covers Respect\Test\StreamWrapper::__call
  * @expectedException Exception
  * @expectedExceptionMessage First inject stream overrides.
  */
 public function test__callInjectionRequired()
 {
     StreamWrapper::releaseOverrides();
     $sw = new StreamWrapper();
     $sw->unknown();
 }