### Question:
Party { @Override public String toString() { return "Party{" + "url=" + url + '}'; } Party(final String url); String getUrl(); @Override final boolean equals(final Object o); @Override final int hashCode(); @Override String toString();  }### Answer:
@Test public void toStringContainsUrl() { final Party party = new Party("someurl"); assertThat(party.toString()).contains("someurl"); }