### Question:
ClassLoaderUtils { @SuppressWarnings("unchecked") public static <T> Class<T> loadClass(String className) throws ClassNotFoundException { return (Class<T>) getClassLoader().loadClass(className); } private  ClassLoaderUtils(); static ClassLoader getClassLoader(); @SuppressWarnings("unchecked") static Class<T> loadClass(String className); @SuppressWarnings("unchecked") static boolean findClass(String className); static URL getResource(String resourceName); static InputStream getResourceAsStream(String resourceName);  }### Answer:
@Test public void testLoadClass() { try { ClassLoaderUtils.loadClass(ClassLoaderUtilsTest.class.getName()); } catch (ClassNotFoundException e) { fail(e.getMessage()); } try { ClassLoaderUtils.loadClass("org.abc.Def"); fail("Should throw ClassNotFoundException!"); } catch (ClassNotFoundException expected) { } }