/**
  * @test
  */
 public function testIsDirectory()
 {
     $file = new Filesystem();
     $dir = static::getTempPath(__FUNCTION__);
     $dir_inner = rand(1, 10) . rand(0, getrandmax());
     $directoryScan = $dir . DIRECTORY_SEPARATOR . $dir_inner;
     $file->mkdir($directoryScan);
     $this->assertEquals(true, $file->isDirectory($directoryScan));
     $this->assertEquals(true, $file->isDirectory($directoryScan, true));
 }