@Test
public void getClassHierarchy() throws Exception {

    Class[] hierarchy = ClassUtil.getClassHierarchy(InternetPerson.class);
    Assert.assertEquals(2, hierarchy.length);
    Assert.assertEquals(Person.class, hierarchy[0]);
    Assert.assertEquals(InternetPerson.class, hierarchy[1]);
}