/** * @depends testCopyDir */ public function testRmDir() { $destDirPath = $this->destDirPath(); // Copy file. $this->assureDestDirNotExist(); File::copy($this->sourceDirPath(), $this->destDirParentPath()); $this->assertFileExists($destDirPath); // Remove file. File::rmdir($destDirPath); // Remove directory. $this->assertFileNotExists($destDirPath); }