You are here

public function vfsStreamWrapperWithoutRootTestCase::canNotOpenDirectory in Zircon Profile 8

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

no root > no directory to open

@test

File

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

Class

vfsStreamWrapperWithoutRootTestCase
Test for org\bovigo\vfs\vfsStreamWrapper.

Namespace

org\bovigo\vfs

Code

public function canNotOpenDirectory() {
  $this
    ->assertFalse(@dir(vfsStream::url('foo')));
}