You are here

public function vfsStreamDirectoryIssue18TestCase::shouldContainSubdirectoryFoo in Zircon Profile 8.0

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

@test

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamDirectoryIssue18TestCase.php, line 51

Class

vfsStreamDirectoryIssue18TestCase
Test for org\bovigo\vfs\vfsStreamDirectory.

Namespace

org\bovigo\vfs

Code

public function shouldContainSubdirectoryFoo() {
  $this
    ->assertTrue($this->rootDirectory
    ->getChild('var/log/app')
    ->hasChild('foo'));
  $this
    ->assertInstanceOf('org\\bovigo\\vfs\\vfsStreamDirectory', $this->rootDirectory
    ->getChild('var/log/app')
    ->getChild('foo'));
}