### Question:
RunId implements Serializable { @Override public String toString() { return Boilerplate.toString(getClass(), id); } RunId(int id); int toInt(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); static final int FIRST_ID; }### Answer:
@Test public void has_toString() { assertThat(new RunId(1).toString(), is("RunId(1)")); assertThat(new RunId(2).toString(), is("RunId(2)")); }