@Test public void testInstanciationWithDefaultConstructor() { Object obj = ObjectFactory.createObject("java.lang.String"); assertNotNull(obj); assertEquals(String.class, obj.getClass()); }
public static Object createObject(String qualifiedName) { return createObject(qualifiedName, new ArrayList<>(), new ArrayList<>()); }
ObjectFactory { public static Object createObject(String qualifiedName) { return createObject(qualifiedName, new ArrayList<>(), new ArrayList<>()); } }
ObjectFactory { public static Object createObject(String qualifiedName) { return createObject(qualifiedName, new ArrayList<>(), new ArrayList<>()); } protected  ObjectFactory(); }
ObjectFactory { public static Object createObject(String qualifiedName) { return createObject(qualifiedName, new ArrayList<>(), new ArrayList<>()); } protected  ObjectFactory(); static Object createObject(String qualifiedName); static Object createObject(String qualifiedName, List<Object> params); static Object createObject(String qualifiedName,  List<Class<?>> paramTypes, List<Object> params); }
ObjectFactory { public static Object createObject(String qualifiedName) { return createObject(qualifiedName, new ArrayList<>(), new ArrayList<>()); } protected  ObjectFactory(); static Object createObject(String qualifiedName); static Object createObject(String qualifiedName, List<Object> params); static Object createObject(String qualifiedName,  List<Class<?>> paramTypes, List<Object> params);  }