### Question:
MultiValue { @Override public String toString() { StringBuilder builder = new StringBuilder(); builder.append("MultiValue [key=").append(key).append(", values=").append(values).append("]"); return builder.toString(); } MultiValue(K key, V value);  MultiValue(K key, List<V> value);  MultiValue(); K getKey(); void setKey(K key); List<V> getValues(); void setValues(List<V> values); MultiValue<K, V> addValue(V value); @Override String toString();  }### Answer:
@Test public void itShouldWriteToString() { MultiValue<String,String> mv = new MultiValue<>("Test", "This is a test"); Assert.assertEquals("MultiValue [key=Test, values=[This is a test]]", mv.toString()); }