You are here

protected function vfsStreamExLockTestCase::setUp in Zircon Profile 8

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

set up test environment

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamExLockTestCase.php, line 22

Class

vfsStreamExLockTestCase
Test for LOCK_EX behaviour related to file_put_contents().

Namespace

org\bovigo\vfs

Code

protected function setUp() {
  $root = vfsStream::setup();
  vfsStream::newFile('testfile')
    ->at($root);
}