@Test
public void testSetAuthorResetsAuthorList() {

    docEntry.getAuthors().add(author1);
    docEntry.getAuthors().add(author2);
    docEntry.setAuthor(author3);
    assertEquals(Collections.singletonList(author3), docEntry.getAuthors());
}