### Question:
ClasspathResourceUtils { public static File[] getResourceFiles(String resourceUri, String fileSuffix) { ClassLoader loader = Thread.currentThread().getContextClassLoader(); URL url = loader.getResource(resourceUri); if (url == null) { return null; } String path = url.getPath(); return new File(path).listFiles((dir, name) -> name.endsWith(fileSuffix)); }  static File[] getResourceFiles(String resourceUri, String fileSuffix); static File[] getResourceFiles(String resourceUri);  }### Answer:
@Test public void testGetAllResourceFiles() { File[] files = ClasspathResourceUtils.getResourceFiles("init"); for (File file : files) { Assertions.assertTrue(file.getName().startsWith("resource_file") && file.getName().endsWith("txt")); } }