// Make sure that they have been added properly.
list.dispatchRemovedEntryEvent(entryMock);
// Remove the middle one and make sure that the content are correct.
list.removeListener(listenerMock2);
list.dispatchRemovedEntryEvent(entryMock);
// Remove the last one and make sure that the content are correct.
list.removeListener(listenerMock3);
list.dispatchRemovedEntryEvent(entryMock);