NCMBLocalFile { static void deleteFile(File deleteFile) { checkNCMBContext(); deleteFile.delete(); }    }
@Test public void deleteFile() throws Exception { String jsonString = "{\"key\":\"value\"}"; File file = NCMBLocalFile.create("Test"); NCMBLocalFile.writeFile(file, new JSONObject(jsonString)); Assert.assertTrue(file.exists()); NCMBLocalFile.deleteFile(file); Assert.assertFalse(file.exists()); }