Episode implements Serializable { public String getDescription() { return description == null ? "" : description; }  Image getImage(); String getTitle(); Date getPublishedDate(); String getDescription(); String getDuration(); Feed getFeed(); String getAudioFilePath(); String getAudioUrl(); String getAudioLength(); @Override String toString();  }
@Test public void itReturnsEmptyDescriptionWhenItIsNull() { Episode episode = new Episode(); assertThat(episode.getDescription(), is("")); }