You are here

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

@test

File

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

Class

vfsStreamDirectoryIssue18TestCase
Test for org\bovigo\vfs\vfsStreamDirectory.

Namespace

org\bovigo\vfs

Code

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