public function vfsStreamAbstractVisitorTestCase::visitWithFileCallsVisitFile in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/visitor/vfsStreamAbstractVisitorTestCase.php \org\bovigo\vfs\visitor\vfsStreamAbstractVisitorTestCase::visitWithFileCallsVisitFile()
@test
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ visitor/ vfsStreamAbstractVisitorTestCase.php, line 58
Class
Namespace
org\bovigo\vfs\visitorCode
public function visitWithFileCallsVisitFile() {
$file = new vfsStreamFile('foo.txt');
$this->abstractVisitor
->expects($this
->once())
->method('visitFile')
->with($this
->equalTo($file));
$this
->assertSame($this->abstractVisitor, $this->abstractVisitor
->visit($file));
}