You are here

public function vfsStreamWrapperLargeFileTestCase::setUp in Zircon Profile 8

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

set up test environment

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperLargeFileTestCase.php, line 32

Class

vfsStreamWrapperLargeFileTestCase
Test for large file mocks.

Namespace

org\bovigo\vfs

Code

public function setUp() {
  $root = vfsStream::setup();
  $this->largeFile = vfsStream::newFile('large.txt')
    ->withContent(LargeFileContent::withGigabytes(100))
    ->at($root);
}