public function testTempDir()
{
$tempDir = $this->tempDir();
$this->assertTrue(is_dir($tempDir));
$tempDir = $this->tempDir(true);
$this->assertFileExists($tempDir . '/test-file');
$this->assertFileExists($tempDir . '/test-dir/test-file');
$this->assertFileExists($tempDir . '/test-nesting/1/2/3/test-file');
}