// non empty directory is not moved if recursive is not set
TestCase.assertFalse(fs.delete(new Path("/test"), false, false));
// Files are expected to move to trash.
TestCase.assertTrue(fs.delete(new Path("/test"), true, false));
TestCase.assertTrue(fs.undelete(new Path("/test"),
System.getProperty("user.name")));
createFile(fs, new Path("/test1/testDelete"));
TestCase.assertTrue(fs
.delete(new Path("/test1/testDelete"), false, false));
TestCase.assertTrue(fs.delete(new Path("/test1"), false, false));