### Question:
GuiPlotColorDecoder { @Override public String toString() { String values = getValues(); return String.format("[%s -> %s]", values, GUI.substring(0, values.length())); }  String encodeForClient(Object board); Object encodeForBrowser(Object board); @Override String toString(); static Collector<Character, StringBuilder, String> asString(); static String GUI; }### Answer:
@Test public void shouldToString() { assertEquals("[1234 -> ABCD]", new GuiPlotColorDecoder(Elements.values()).toString()); assertEquals("[SHG -> ABC]", new GuiPlotColorDecoder(Elements1.values()).toString()); assertEquals("[SH -> AB]", new GuiPlotColorDecoder(Elements2.values()).toString()); }