See also: https://github.com/mikey179/vfsStream/issues/10
Since: 0.10.0
Inheritance: implements org\bovigo\vfs\visitor\vfsStreamVisitor
 /**
  * @test
  */
 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));
 }