/**
  * Test, if dirs are recognized correctly
  */
 function testIsDir()
 {
     $Dir = new File('user', 1, '');
     $this->assertTrue($Dir->is_dir(), 'Dir is dir.');
     $temp_path = $this->createUserFile();
     if (!$temp_path) {
         return;
     }
     $File = new File('user', 1, $temp_path);
     $this->assertFalse($File->is_dir(), 'File is no dir.');
 }