}
public void testShouldRemoveFromSelection() {
ClientSelection oldSelection = new ClientSelection();
oldSelection.addRange(new SelectionRange(10, 15));
oldSelection.addRange(new SelectionRange(16, 20));
ClientSelection newSelection = new ClientSelection();
newSelection.addRange(new SelectionRange(20, 40));
for (int i = 0; i < 10; i++) {
assertFalse(
"Contributor wasn't supposed to remove " + i,
contributor.shouldRemoveFromSelection(i, oldSelection, newSelection)