@Test
public void getPackage() {

    assertNull(PackageUtil.getPackage(null));
    assertEquals("java.lang", PackageUtil.getPackage(String.class).getName());
    assertEquals("com.baidu.unbiz.common", PackageUtil.getPackage(PackageUtil.class).getName());
}