@Test
public void deleteDir() {

    try{
        //create a temp file
        File temp = File.createTempFile("temporary", ".txt");
        assertTrue(temp.exists());
        Helper.deleteDir(temp);
        assertFalse(temp.exists());
    }catch(IOException e){
        e.printStackTrace();
    }
}