You are here

public function vfsStreamWrapperWithoutRootTestCase::canNotOpen in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperWithoutRootTestCase.php \org\bovigo\vfs\vfsStreamWrapperWithoutRootTestCase::canNotOpen()

can not open a file without root

@test

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperWithoutRootTestCase.php, line 49

Class

vfsStreamWrapperWithoutRootTestCase
Test for org\bovigo\vfs\vfsStreamWrapper.

Namespace

org\bovigo\vfs

Code

public function canNotOpen() {
  $this
    ->assertFalse(@fopen(vfsStream::url('foo'), 'r'));
}