### Question:
IdeogramsWordCounter implements WordCounter { @Override public int countWords (Note note) { return countChars(note); }  @Override int countWords(Note note); @Override int countChars(Note note);  }### Answer:
@Test public void getWords () { Note note = getNote(1L, "这是中文测试", "這是中文測試\n これは日本語のテストです"); assertEquals(24, new IdeogramsWordCounter().countWords(note)); note.setTitle("这"); assertEquals(19, new IdeogramsWordCounter().countWords(note)); }
@Test public void getChecklistWords () { String content = CHECKED_SYM + "這是中文測試\n" + UNCHECKED_SYM + "これは日本語のテストです"; Note note = getNote(1L, "这是中文测试", content); note.setChecklist(true); assertEquals(24, new IdeogramsWordCounter().countWords(note)); }