Episode implements Serializable { public Date getPublishedDate() { if (publishedDate == null) { return null; } return dateTimeParser().parseDateTime(publishedDate).toDate(); }  Image getImage(); String getTitle(); Date getPublishedDate(); String getDescription(); String getDuration(); Feed getFeed(); String getAudioFilePath(); String getAudioUrl(); String getAudioLength(); @Override String toString();  }
@Test public void itReturnsNullDateByDefault() { assertNull(new Episode().getPublishedDate()); }