### Question:
PropertyUtil { public static void setProperty(Object bean, String name, Object value) { try { Class<?> clazz = Thread.currentThread().getContextClassLoader().loadClass("org.apache.commons.beanutils.BeanUtils"); Method method = clazz.getMethod("setProperty", Object.class, String.class, Object.class); method.invoke(null, bean, name, value); } catch (Exception e) { throw new ActiveJpaException("Failed while setting the property", e); } } private  PropertyUtil(); static boolean isSimpleProperty(Class<?> clazz); static boolean isSimpleValueType(Class<?> clazz); static boolean isCollectionProperty(Type type, boolean includeMaps); static boolean isCollectionProperty(Class<?> clazz, boolean includeMaps); static boolean isMapProperty(Type type); static boolean isMapProperty(Class<?> clazz); static Class<?> getCollectionElementType(Type type); static Object getProperty(Object bean, String name); static void setProperty(Object bean, String name, Object value); static Method getReadMethod(Object bean, String name); static Boolean isPrimitiveOrWrapper(Class<?> clazz);  }### Answer:
@Test public void shouldSetPropertyWithValue() { DummyClass clazz = new DummyClass(); PropertyUtil.setProperty(clazz, "wrapperInt", 100); assertEquals(clazz.getWrapperInt(), Integer.valueOf(100)); }