### Question:
InitializableFactory { public static <T> T create(UimaContext context, String className, Class<T> superClass) throws ResourceInitializationException { Class<? extends T> cls = getClass(className, superClass); return create(context, cls); } private  InitializableFactory(); static T create(UimaContext context, String className, Class<T> superClass); static Class<? extends T> getClass(String className, Class<T> superClass); static T create(UimaContext context, Class<? extends T> cls); static void initialize(Object object, UimaContext context);  }### Answer:
@Test(expected = ResourceInitializationException.class) public void testBadConstructor() throws ResourceInitializationException { UimaContext context = UimaContextFactory.createUimaContext( InitializableClass.PARAM_BOOLEAN_PARAMETER, true); InitializableFactory.create(context, NoDefaultConstructor.class); }