### Question:
FastDFSRepository { public FileInfo getFileInfo(String fileId) { try { FastDFSClient client = fastDFSPool.getClient(); FileInfo info = client.get_file_info1(fileId); client.close(); return info; } catch (IOException e) { e.printStackTrace(); } catch (MyException e) { e.printStackTrace(); } return null; }  String uploadFile(File file, String fileName, long fileLength); byte[] downloadFile(String fileId); FileInfo getFileInfo(String fileId); Map<String, String> getFileMetadata(String fileId); int deleteFile(String fileId);  }### Answer:
@Test public void testGetFileInfo() { FileInfo fileInfo = fastDFSRepository.getFileInfo("group1/M00/00/00/wKgBLVrvch6ASeV5AAAAAAAAAAA014.txt"); System.out.println(fileInfo); }