### Question:
StringUtils { public static boolean hasText(String str) { return hasText((CharSequence) str); }  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 hasText() throws Exception { assertFalse(StringUtils.hasText(null)); assertFalse(StringUtils.hasText("")); assertFalse(StringUtils.hasText(" ")); assertTrue(StringUtils.hasText("sxp")); assertTrue(StringUtils.hasText("施小平")); assertTrue(StringUtils.hasText("x小p")); }