You are here

public function vfsStreamWrapperTestCase::unlinkReturnsFalseWhenFileDoesNotExistAndFileWithSameNameExistsInRoot 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::unlinkReturnsFalseWhenFileDoesNotExistAndFileWithSameNameExistsInRoot()

@test @group issue_49

File

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

Class

vfsStreamWrapperTestCase
Test for org\bovigo\vfs\vfsStreamWrapper.

Namespace

org\bovigo\vfs

Code

public function unlinkReturnsFalseWhenFileDoesNotExistAndFileWithSameNameExistsInRoot() {
  vfsStream::setup()
    ->addChild(vfsStream::newFile('foo.blubb'));
  $this
    ->assertFalse(@unlink(vfsStream::url('foo.blubb')));
}