### Question:
ClassLoaderUtil { public static boolean isClassPresent(String className) { try { Class.forName(className); return true; } catch (ClassNotFoundException ex) { return false; } }  static ClassLoader getLoader(); static String getClassPath(); static boolean isClassPresent(String className);  }### Answer:
@Test public void isClassPresentTest() { assertEquals(false, ClassLoaderUtil.isClassPresent("tt.tt")); assertEquals(true, ClassLoaderUtil.isClassPresent("com.ppdai.infrastructure.mq.biz.common.util.ClassLoaderUtilTest")); }