### Question:
FileNasStorage implements RdfFileStorageSpi { @Override public List<String> listAllFiles(String folderName, String[] regexs) { return listFilesWithRegexs(folderName, true, regexs); }  @Override void init(StorageConfig t); @Override InputStream getInputStream(String filename); @Override InputStream getInputStream(String filename, long start, long length); @Override InputStream getTailInputStream(FileConfig fileConfig); @Override void createNewFile(String filePath); @Override FileInfo getFileInfo(String filePath); @Override List<String> listFiles(String folderName, String[] regexs); @Override List<String> listFiles(String folderName, FilePathFilter... fileFilters); @Override List<String> listAllFiles(String folderName, String[] regexs); @Override List<String> listAllFiles(String folderName, FilePathFilter... fileFilters); @Override void download(String srcFile, String toFile); @Override void upload(String srcFile, String toFile, boolean override); @Override void rename(String srcFile, String toName); @Override void copy(String srcFile, String toFile); @Override void delete(String fullPath);  }### Answer:
@Test public void testListAllFilesWithRegexs() { List<String> paths = storage.listAllFiles(File.class.getResource("/storage").getPath(), new String[] { "11.txt" }); Assert.assertEquals(1, paths.size()); }