You are here

public function vfsStreamWrapperAlreadyRegisteredTestCase::registerOverAnotherStreamWrapper in Zircon Profile 8

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

registering the stream wrapper when another stream wrapper is already registered for the vfs scheme should throw an exception

@test @expectedException org\bovigo\vfs\vfsStreamException

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperAlreadyRegisteredTestCase.php, line 58

Class

vfsStreamWrapperAlreadyRegisteredTestCase
Test for org\bovigo\vfs\vfsStreamWrapper.

Namespace

org\bovigo\vfs

Code

public function registerOverAnotherStreamWrapper() {
  vfsStreamWrapper::register();
}