You are here

public function vfsStreamWrapperTestCase::openFileWithoutDirectory in Zircon Profile 8

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

@test @expectedException PHPUnit_Framework_Error

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperTestCase.php, line 614

Class

vfsStreamWrapperTestCase
Test for org\bovigo\vfs\vfsStreamWrapper.

Namespace

org\bovigo\vfs

Code

public function openFileWithoutDirectory() {
  vfsStreamWrapper::register();
  $this
    ->assertFalse(file_get_contents(vfsStream::url('file.txt')));
}