### Question:
FileSftpStorage implements RdfFileStorageSpi { @Override public void delete(String fileFullPath) { fileFullPath = SFTPHelper.toSFTPPath(fileFullPath); Map<String, String> params = new HashMap<String, String>(); params.put(SftpOperationParamEnums.TARGET_FILE.toString(), fileFullPath); AbstractSftpOperationTemplate operationTemplate = SftpOperationFactory.getOperation(SftpOperationTypeEnums.DEL); SftpOperationResponse<Boolean> response = operationTemplate.handle(sftpUserInfo, params, sftpConfig); if (!response.isSuccess()) { throw new RdfFileException("rdf-file#FileSftpStorage.del,sftp del fail" + "，targetFile=" + fileFullPath , response.getError(), RdfErrorEnum.UNKOWN); } }  @Override void copy(String srcFile, String toFile); @Override void createNewFile(String fileFullPath); @Override void delete(String fileFullPath); @Override void download(String srcFile, String toFile); @Override FileInfo getFileInfo(String filePath); @Override List<String> listAllFiles(String folderName, String[] regexs); @Override List<String> listAllFiles(String folderName, FilePathFilter... fileFilters); @Override List<String> listFiles(String folderName, String[] regexs); @Override List<String> listFiles(String folderName, FilePathFilter... fileFilters); @Override void rename(String srcFile, String toFile); @Override void upload(String srcFile, String toFile, boolean override); @Override InputStream getInputStream(String filename); @Override InputStream getInputStream(String filename, long start, long length); @Override InputStream getTailInputStream(FileConfig fileConfig); @Override void init(StorageConfig config); SFTPUserInfo getUserInfo();  }### Answer:
@Test public void testAll() throws Exception{ RdfFileLogUtil.common = new SystemPrintLog(); checkHealth(); prepare(); try{ doAll(); }finally { fileStorage.delete(ROOT_PATH); } }