@Test
public void testNewInstanceWithArgs() throws Exception {

    Assert.assertNotNull(ClassUtils.newInstanceWithArgs(TestMemberClass3.class, null, null));
    Assert.assertNotNull(ClassUtils.newInstanceWithArgs(TestMemberClass3.class,
        new Class[] { String.class }, new Object[] { "2222" }));
    Assert.assertNotNull(ClassUtils.newInstanceWithArgs(TestMemberClass6.class, null, null));
    Assert.assertNotNull(ClassUtils.newInstanceWithArgs(TestMemberClass6.class,
        new Class[] { int.class }, new Object[] { 222 }));
    Assert.assertNotNull(ClassUtils.newInstanceWithArgs(TestClass3.class, null, null));
    Assert.assertNotNull(ClassUtils.newInstanceWithArgs(TestClass3.class,
        new Class[] { String.class, int.class }, new Object[] { "xxx", 222 }));
}