public function vfsStreamWrapperUnregisterTestCase::unregisterWhenNotRegistered in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperUnregisterTestCase.php \org\bovigo\vfs\vfsStreamWrapperUnregisterTestCase::unregisterWhenNotRegistered()
Unregistering while not registers won't fail.
@test
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperUnregisterTestCase.php, line 67
Class
Namespace
org\bovigo\vfsCode
public function unregisterWhenNotRegistered() {
// Unregister possible registered URL wrapper.
vfsStreamWrapper::unregister();
$this
->assertNotContains(vfsStream::SCHEME, stream_get_wrappers());
vfsStreamWrapper::unregister();
}