### Question:
MessageAnalyzer { MessageAnalyzer(String key) { init(key); this.caches.trimToSize(); } MessageAnalyzer(String key); void build(StringBuilder sb, Object[] args); @Override String toString();  }### Answer:
@Test public void testMessageAnalyzer() { MessageAnalyzer analyzer = new MessageAnalyzer("1111{}1{}{}1{}"); assertTrue(analyzer.getCount() == 4); }