### Question:
DataFactory { public static IData getData(final Class clazz) { if(ObjectUtil.isNull(clazz)) { return NullData.INSTANCE; } if(clazz.isArray()) { return new ArrayData(); } if(ClassTypeUtil.isIterable(clazz)) { return new IterableData(); } if(Map.class.isAssignableFrom(clazz)) { return new MapData(); } if(clazz.isEnum()) { return new EnumData(); } if(ClassTypeUtil.isJdk(clazz)) { Class realClazz = DataPrimitiveUtil.getReferenceType(clazz); final Class<? extends IData> dataClass = DATA_CLASS_MAP.get(realClazz); if(ObjectUtil.isNull(dataClass)) { return NullData.INSTANCE; } return ClassUtil.newInstance(dataClass); } return new BeanData(); }  static IData getData(final Class clazz);  }### Answer:
@Test public void getDataTest() throws Exception { }