You are here

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

@test @group issue_11 @requires PHP 5.4.0

File

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

Class

vfsStreamWrapperTestCase
Test for org\bovigo\vfs\vfsStreamWrapper.

Namespace

org\bovigo\vfs

Code

public function touchCreatesNonExistingFile() {
  $this
    ->assertTrue(touch($this->fooURL . '/new.txt'));
  $this
    ->assertTrue($this->foo
    ->hasChild('new.txt'));
}