### Question:
ClassUtils extends org.springframework.util.ClassUtils { public static Resource getResource(Class<?> clazz) { String resourcePath = ResourceLoader.CLASSPATH_URL_PREFIX + convertClassNameToResourcePath(clazz.getName()) + CLASS_FILE_SUFFIX; return new DefaultResourceLoader().getResource(resourcePath); }  static boolean isInJar(Class<?> clazz); static boolean isInJar(Resource resource); static Resource getResource(Class<?> clazz); static Resource getClassesRootResource(Class<?> clazz); static String getClassesRootPath(Class<?> clazz);  }### Answer:
@Test public void testGetResource() { Resource resource = ClassUtils.getResource(getClass()); Assert.assertTrue("org.webframe.support.util.ClassUtils类文件应该存在！", resource.exists()); }