### Question:
ClassUtil { public static <T> Constructor<T> getConstructor(Class<T> clazz, Class<?>... parameterTypes) throws WrapException { try { return clazz.getConstructor(parameterTypes); } catch (SecurityException | NoSuchMethodException e) { throw new WrapException(e); } }  static T newInstance(Class<T> clazz); static Constructor<T> getConstructor(Class<T> clazz, Class<?>... parameterTypes); static Method getMethod(Class<T> clazz, String name, Class<?>... parameterTypes); static Method getDeclaredMethod(
      Class<T> clazz, String name, Class<?>... parameterTypes); static Field getDeclaredField(Class<T> clazz, String name); static String getPackageName(String binaryName); static List<String> getEnclosingNames(String binaryName); static String getSimpleName(String binaryName); static Class<?> toBoxedPrimitiveTypeIfPossible(Class<?> clazz); static R traverse(Class<?> clazz, Function<Class<?>, R> f);  }### Answer:
@Test public void testGetConstructor() throws Exception { Constructor<String> constructor = ClassUtil.getConstructor(String.class, char[].class, int.class, int.class); assertNotNull(constructor); }