diff --git a/java/client/test/org/openqa/selenium/io/TemporaryFilesystemTest.java b/java/client/test/org/openqa/selenium/io/TemporaryFilesystemTest.java
index <HASH>..<HASH> 100644
--- a/java/client/test/org/openqa/selenium/io/TemporaryFilesystemTest.java
+++ b/java/client/test/org/openqa/selenium/io/TemporaryFilesystemTest.java
@@ -1,9 +1,9 @@
 package org.openqa.selenium.io;
 
-import org.openqa.selenium.WebDriverException;
-
 import junit.framework.TestCase;
+
 import org.junit.Test;
+import org.openqa.selenium.WebDriverException;
 
 import java.io.File;
 import java.io.IOException;
@@ -99,6 +99,15 @@ public class TemporaryFilesystemTest extends TestCase {
   }
 
   @Test
+  public void testShouldDeleteTempDir() {
+    final File tempDir = tmpFs.createTempDir("foo", "bar");
+    assertTrue(tempDir.exists());
+    tmpFs.deleteTemporaryFiles();
+    tmpFs.deleteBaseDir();
+    assertFalse(tempDir.exists());
+  }
+
+  @Test
   public void testShouldBeAbleToModifyDefaultInstance() throws IOException {
     // Create a temp file *outside* of the directory owned by the current
     // TemporaryFilesystem instance.
KristianRosenvold: Added unit test for method added in r<I>

r<I>