@Test
public void testNewInstance() {

    ArrayList list = ClassUtil.newInstance(ArrayList.class.getName(), null, null);
    Assert.assertNotNull(list);
    Integer integer = ClassUtil.newInstance(Integer.class.getName(), new Class[] { int.class },
        new Object[] { 5 });
    Assert.assertEquals("5", integer.toString());
}