### Question:
ClassUtil { public static boolean exists( final String className ) { try { Class.forName( className, false, ClassUtil.class.getClassLoader() ); return true; } catch( final ClassNotFoundException e ) { return false; } } private  ClassUtil(); static Class<?> findClass( final List< String > packages,  final List< String > externaljars, final String className ); static Class< ? > findClass( final String packageName, final String className ); static List< String > classpathEntriesUnder( final String rootPackage ); @SuppressWarnings("unchecked") static T getMappedObject( final String requestedClass ); @SuppressWarnings( "unchecked" ) static T getMappedObject( final String requestedClass, final Object... initargs ); static Class< ? > getMappedClass( final String requestedClass ); static boolean assignable( final String srcClassName, final String parentClassName ); static boolean exists( final String className ); static Map< String, String > getExtraClassMappings(); static final String MAPPINGS; static final String MAPPINGS_EXTRA; }### Answer:
@Test public void testExists() { Assertions.assertTrue( ClassUtil.exists( "java.util.List" ) ); Assertions.assertFalse( ClassUtil.exists( "org.apache.wiski.FrisFrus" ) ); }