### Question:
IntrospectUtil { public static JTypeTable initializeJType(String fullyQualifiedClassName) throws PreProcessFailedException { Class<?> clazz = null; try { clazz = loadClass(fullyQualifiedClassName); } catch (ClassNotFoundException ex) { throw new PreProcessFailedException("Failed to load class : " + fullyQualifiedClassName, ex); } JTypeTable jTypeTable = new JTypeTable(clazz); List<Method> methodList = getMethods(clazz); jTypeTable.setMethods(methodList); Set<Class<?>> typesReferred = getTypesReferred(methodList); jTypeTable.setTypesReferred(typesReferred); return jTypeTable; }  static Class<?> getWrapperType(String primitiveType); static JTypeTable initializeJType(String fullyQualifiedClassName); static JTypeTable initializeAsyncInterfaceJType(String fullyQualifiedClassName); static void addAllTypesReferred(Class<?> type, Set<String> typeNameSet); static boolean hasAttachmentTypeRef(Class<?> type, Set<String> typeNameSet); static boolean isParameterizedType(Type type); static boolean isWildCardType(Type type); static boolean isGenericArrayType(Type type); static Method getMethodWithSignature(
				Class<?> clazz, 
				String methodName, 
				Class<?>[] params); static boolean hasCollectionType(Class<?>[] types); static boolean isCollectionType(Class<?> typeClazz); static Class<?> loadClass(String fullyQualifiedClassName); static Method[] getPublicInstanceMethods(Class<?> clazz); static Method[] getMatchedMethods(Class<?> clazz, Set<String> methodNameSet); static boolean isPublicInstanceMethod(Method method); static List<Method> getMethods(Class<?> clazz);  }### Answer:
@Test public void testInitializeJType() throws Exception { testingdir.ensureEmpty(); File classes = testingdir.getFile("classes"); MavenTestingUtils.ensureDirExists(classes); File srcDir = TestResourceUtil.getResourceDir("botservice-classes"); FileUtils.copyDirectory(srcDir, classes); URL urls[] = { classes.toURI().toURL() }; URLClassLoader cl = new URLClassLoader(urls); ClassLoader originalCL = Thread.currentThread().getContextClassLoader(); try { Thread.currentThread().setContextClassLoader(cl); JTypeTable jtt = IntrospectUtil .initializeJType("fr.virtuoz.BotService"); Assert.assertNotNull("Loaded Class should not be null", jtt); } finally { Thread.currentThread().setContextClassLoader(originalCL); } }