public static String getPackageName(Class<?> clazz) {
        return getPackageName(clazz.getName());
    }
@Test
    public void testGetPackageName() {
        String packageName = ClassUtils.getPackageName(AbstractMap.class);
        assertEquals("java.util", packageName);
    }