@Test
public void getResourceInPackage() throws IOException {

    // null
    assertNull(PackageUtil.getResourceInPackage(null));
    assertNull(PackageUtil.getResourceInPackage(""));
    assertNull(PackageUtil.getResourceInPackage("     "));
    assertTrue(CollectionUtil.isEmpty(PackageUtil.getResourceInPackage("com.baidu.beidou.xxx")));
    assertTrue(CollectionUtil.isEmpty(PackageUtil.getResourceInPackage("notexist")));
    List<String> utils = PackageUtil.getResourceInPackage("com.baidu.unbiz.common");
    assertTrue(CollectionUtil.isNotEmpty(utils));
    List<String> subUtils = PackageUtil.getResourceInPackage("com.baidu.unbiz.common.*");
    assertTrue(CollectionUtil.isNotEmpty(subUtils));
    assertEquals(utils, subUtils);
    List<String> langs = PackageUtil.getResourceInPackage("org.slf4j");
    assertTrue(CollectionUtil.isNotEmpty(langs));
    List<String> subLangs = PackageUtil.getResourceInPackage("org.slf4j.*");
    assertTrue(CollectionUtil.isNotEmpty(subLangs));
    // FIXME
    assertEquals(subLangs, langs);
}