public function vfsStreamWrapperAlreadyRegisteredTestCase::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperAlreadyRegisteredTestCase.php \org\bovigo\vfs\vfsStreamWrapperAlreadyRegisteredTestCase::setUp()
set up test environment
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperAlreadyRegisteredTestCase.php, line 36
Class
Namespace
org\bovigo\vfsCode
public function setUp() {
TestvfsStreamWrapper::unregister();
$mock = $this
->getMock('org\\bovigo\\vfs\\vfsStreamWrapper');
stream_wrapper_register(vfsStream::SCHEME, get_class($mock));
}