void () { assertEquals("java.lang", StringUtil.getPackageName("java.lang.String")); assertEquals("java.util.Map", StringUtil.getPackageName("java.util.Map.Entry")); assertEquals("Map", StringUtil.getPackageName("Map.Entry")); assertEquals("", StringUtil.getPackageName("Number")); }