### Question:
ImmutableAlternatives implements Alternatives { @Override public String toString() { return MoreObjects. toStringHelper(getClass()). add("entries",this.entries). toString(); } private  ImmutableAlternatives(final ImmutableList<Entry> entries); @Override Iterator<Alternative> iterator(); @Override int size(); @Override boolean isEmpty(); @Override ImmutableAlternative alternative(int i); @Override ImmutableQuality quality(int i); @Override String toString();  }### Answer:
@Test public void emptyAlternativesHasCustomToStringRepresentation() throws Exception { assertThat(empty().toString(),equalTo("ImmutableAlternatives{entries=[]}")); }
@Test public void populatedAlternativesHasCustomToStringRepresentation() throws Exception { assertThat(populated().toString(),equalTo("ImmutableAlternatives{entries=[Entry{quality=0.1 [DEFINITE], alternative={0.200}}, Entry{quality=0.3 [DEFINITE], alternative={0.400}}]}")); }