function testGetNodeForPath_Directory()
 {
     $fs = new Sabre_DAV_Tree_Filesystem(SABRE_TEMPDIR);
     $node = $fs->getNodeForPath('dir');
     $this->assertTrue($node instanceof Sabre_DAV_FS_Directory);
     $this->assertEquals('dir', $node->getName());
     $this->assertInternalType('array', $node->getChildren());
 }
 function testGetNodeForPath_Directory()
 {
     $fs = new Sabre_DAV_Tree_Filesystem(SABRE_TEMPDIR);
     $node = $fs->getNodeForPath('dir');
     $this->assertTrue($node instanceof Sabre_DAV_FS_Directory);
 }