### Question:
GroupConfigEntryList implements Iterable<GroupConfigEntry> { public GroupConfigEntry getLast() { return entries.isEmpty() ? null : entries.getLast(); }  GroupConfigEntry getLast(); void add(GroupConfigEntry entry); GroupConfigEntry removeAfter(int entryIndex); List<GroupConfigEntry> subList(int fromIndex, int toIndex); @Override @Nonnull Iterator<GroupConfigEntry> iterator(); @Override String toString();  }### Answer:
@Test public void testGetLastEmpty() { GroupConfigEntryList list = new GroupConfigEntryList(); Assert.assertNull(list.getLast()); }