@Test
void shouldDeleteDeepDirectory() throws IOException {

    File parent = new File("parent/child/deep");
    parent.mkdirs();
    File test = new File("parent/child/deep/test.txt");
    test.createNewFile();
    File test2 = new File("parent/child/test2.txt");
    test2.createNewFile();
    File test3 = new File("parent/test3.txt");
    test3.createNewFile();
    assertTrue(parent.isDirectory());
    assertTrue(test.isFile());
    assertTrue(test2.isFile());
    assertTrue(test3.isFile());
    FileUtils.deleteDirectoryRecursively(new File("parent"));
    assertFalse(parent.isDirectory());
    assertFalse(test.isFile());
    assertFalse(test2.isFile());
    assertFalse(test3.isFile());
}