JobRecipient extends BaseEntity implements Recipient { @Override public String getAddress() { return address; } 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 testJobRecipient_1() throws Exception { JobRecipient result = new JobRecipient(); assertNotNull(result); assertEquals(null, result.getAddress()); assertEquals(0, result.getId()); assertEquals(null, result.getModified()); assertEquals(null, result.getCreated()); }
@Test public void testJobRecipient_2() throws Exception { String address = ""; RecipientType type = RecipientType.email; JobRecipient result = new JobRecipient(address, type); assertNotNull(result); assertEquals("", result.getAddress()); assertEquals(0, result.getId()); assertEquals(null, result.getModified()); assertEquals(null, result.getCreated()); }
@Test public void testGetAddress_1() throws Exception { JobRecipient fixture = new JobRecipient("", RecipientType.email); String result = fixture.getAddress(); assertEquals("", result); }