ChineseUtils { public String getSpellingFirstLetterUpper(String chinese) { return this.getSpelling(chinese).toUpperCase().charAt(0) + ""; }  static ChineseUtils getInstance(); String getResource(); void setResource(String resource); String convert(String chinese); String getSpelling(String chinese); String getSpelling(); String getSpellingFirstLetterUpper(String chinese); String getSpellingFirstLetterLower(String chinese); static String[] spellingString; }
@Test public void getSpellingFirstLetterUpper() throws Exception { String upper = ChineseUtils.getInstance().getSpellingFirstLetterUpper(WORD); System.out.println(TAG + " >>>>>>>> getSpellingFirstLetterUpper "); System.out.println(TAG + " >> getSpellingFirstLetterUpper >> word >> " + WORD); System.out.println(TAG + " >> getSpellingFirstLetterUpper >> work upper >> " + WORD_UPPER); System.out.println(TAG + " >> getSpellingFirstLetterUpper >> upper >> " + upper); System.out.println(); assertEquals(WORD_UPPER, upper); }