SubmissionSet extends XDSMetaClass implements Serializable { public Author getAuthor() { return authors.isEmpty() ? null : authors.get(0); }  List<Author> getAuthors(); void setAuthor(Author author); Author getAuthor(); Code getContentTypeCode(); void setContentTypeCode(Code contentTypeCode); String getSourceId(); void setSourceId(String sourceId); String getSubmissionTime(); void setSubmissionTime(String submissionTime); List<Recipient> getIntendedRecipients(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test public void testGetAuthorOnEmptyAuthorList() { assertEquals(null, submissionSet.getAuthor()); }