JobRecipient extends BaseEntity implements Recipient { @Override public String toString() { return new ToStringBuilder(this).append("id", getId()).append("type", type).append("address", address) .toString(); } JobRecipient();  JobRecipient(String address, RecipientType type); @Override String getAddress(); void setAddress(String address); @Override RecipientType getType(); void setType(RecipientType type); @Override String toString(); @Override boolean equals(Object obj); @Override int hashCode();  }
@Test public void testToString_1() throws Exception { JobRecipient fixture = new JobRecipient("", RecipientType.email); String result = fixture.toString(); }