public function vfsStreamAbstractVisitorTestCase::visitWithBlockCallsVisitFile in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/visitor/vfsStreamAbstractVisitorTestCase.php \org\bovigo\vfs\visitor\vfsStreamAbstractVisitorTestCase::visitWithBlockCallsVisitFile()
tests that a block device eventually calls out to visit file
@test
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ visitor/ vfsStreamAbstractVisitorTestCase.php, line 74
Class
Namespace
org\bovigo\vfs\visitorCode
public function visitWithBlockCallsVisitFile() {
$block = new vfsStreamBlock('foo');
$this->abstractVisitor
->expects($this
->once())
->method('visitFile')
->with($this
->equalTo($block));
$this
->assertSame($this->abstractVisitor, $this->abstractVisitor
->visit($block));
}