You are here

public function vfsStreamWrapperSetOptionTestCase::setUp in Zircon Profile 8

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

set up test environment

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperSetOptionTestCase.php, line 30

Class

vfsStreamWrapperSetOptionTestCase
Test for stream_set_option() implementation.

Namespace

org\bovigo\vfs

Code

public function setUp() {
  $this->root = vfsStream::setup();
  vfsStream::newFile('foo.txt')
    ->at($this->root);
}