You are here

public function vfsStreamDirectoryIssue18TestCase::shouldContainSubdirectoryApp2 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::shouldContainSubdirectoryApp2()

@test

File

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

Class

vfsStreamDirectoryIssue18TestCase
Test for org\bovigo\vfs\vfsStreamDirectory.

Namespace

org\bovigo\vfs

Code

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