### Question:
StringUtils { public static boolean hasChineseCharacter(String str) { String reg = "[\\u4E00-\\u9FA5]"; Pattern p = Pattern.compile(reg); Matcher m; m = p.matcher(str); return m.find(); }  static boolean isEmpty(String str); static boolean isNotEmpty(String str); static boolean hasText(String str); static boolean hasText(CharSequence str); static boolean hasChineseCharacter(String str); static String trim(String source);  }### Answer:
@Test public void hasChineseCharacter() throws Exception { try { assertFalse(StringUtils.hasChineseCharacter(null)); fail(); } catch (Exception e) { } assertFalse(StringUtils.hasChineseCharacter("")); assertFalse(StringUtils.hasChineseCharacter(" ")); assertFalse(StringUtils.hasChineseCharacter("sxp")); assertTrue(StringUtils.hasChineseCharacter("施小平")); assertTrue(StringUtils.hasChineseCharacter("x小p")); }