You are here

public function vfsStreamAbstractVisitorTestCase::visitWithDirectoryCallsVisitDirectory in Zircon Profile 8.0

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

@test

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/visitor/vfsStreamAbstractVisitorTestCase.php, line 88

Class

vfsStreamAbstractVisitorTestCase
Test for org\bovigo\vfs\visitor\vfsStreamAbstractVisitor.

Namespace

org\bovigo\vfs\visitor

Code

public function visitWithDirectoryCallsVisitDirectory() {
  $dir = new vfsStreamDirectory('bar');
  $this->abstractVisitor
    ->expects($this
    ->once())
    ->method('visitDirectory')
    ->with($this
    ->equalTo($dir));
  $this
    ->assertSame($this->abstractVisitor, $this->abstractVisitor
    ->visit($dir));
}