public function tearDown() { StreamWrapper::releaseOverrides(); }
/** * Tearing thing down once test execution is done. */ protected function tearDown() { StreamWrapper::releaseOverrides(); $this->object->__destruct(); $this->object = null; }
/** * Tearing thing down once test execution is done. */ protected function tearDown() { StreamWrapper::releaseOverrides(); stream_wrapper_restore('file'); $this->object = null; }
/** * @covers Respect\Test\StreamWrapper::__call * @expectedException Exception * @expectedExceptionMessage First inject stream overrides. */ public function test__callInjectionRequired() { StreamWrapper::releaseOverrides(); $sw = new StreamWrapper(); $sw->unknown(); }