You are here

public function vfsStreamWrapperUnregisterTestCase::unregisterRegisteredUrlWrapper in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperUnregisterTestCase.php \org\bovigo\vfs\vfsStreamWrapperUnregisterTestCase::unregisterRegisteredUrlWrapper()

Unregistering a registered URL wrapper.

@test

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperUnregisterTestCase.php, line 23

Class

vfsStreamWrapperUnregisterTestCase
Test for org\bovigo\vfs\vfsStreamWrapper.

Namespace

org\bovigo\vfs

Code

public function unregisterRegisteredUrlWrapper() {
  vfsStreamWrapper::register();
  vfsStreamWrapper::unregister();
  $this
    ->assertNotContains(vfsStream::SCHEME, stream_get_wrappers());
}