### Question:
Multiplicity extends ModelElement { @Override public String toString() { final StringBuilder sb = new StringBuilder(); sb.append("{"); sb.append("range: " + range); if (!getTaggedValues().isEmpty()) { sb.append(", "); sb.append("taggedValues: " + getTaggedValues()); } sb.append("}"); return sb.toString(); } Multiplicity(final Identifier id, final List<TaggedValue> taggedValues, final Range range);  Multiplicity(final List<TaggedValue> taggedValues, final Range range);  Multiplicity(final Range range); @Override void accept(final Visitor visitor); Range getRange(); @Override String toString();  }### Answer:
@Test public void testToString() { String string1 = multiplicity.toString(); String string2 = "{range: " + new Range(Occurs.ZERO, Occurs.UNBOUNDED).toString() + "}"; assertEquals(string2, string1); }