@Test
public void newInstance() throws Exception {

    A a = ReflectionUtils.newInstance(A.class);
    assertNotNull(a);
    B b = ReflectionUtils.newInstance(B.class);
    assertNotNull(b);
    C c = ReflectionUtils.newInstance(C.class);
    assertNotNull(c);
    b.setB(a);
    assertEquals(b.getB(), a);
}