  @Test
  public void testDeleteRecursively() throws Exception {

    File file = touchAndCreate(tempDir, "file");
    File copy = new File(tempDir, "bar");
    Files.write("Contents!", file, UTF_8);
    fs.copyFile(file, copy);
    fs.deleteRecursively(tempDir);
    assertThat(tempDir.exists()).isFalse();
    assertThat(file.exists()).isFalse();
    assertThat(copy.exists()).isFalse();
  }