@Test public void testAdd() { selectionMode.add(o1); assertSelection(o1); }
@Override public void add(@Nonnull final T item) { selection = item; }
ListBoxSelectionModeSingle implements ListBoxSelectionMode<T> { @Override public void add(@Nonnull final T item) { selection = item; } }
ListBoxSelectionModeSingle implements ListBoxSelectionMode<T> { @Override public void add(@Nonnull final T item) { selection = item; }  }
ListBoxSelectionModeSingle implements ListBoxSelectionMode<T> { @Override public void add(@Nonnull final T item) { selection = item; }  @Override void clear(); @Nonnull @Override List<T> getSelection(); @Override void remove(@Nonnull final T item); @Override void removeForced(@Nonnull final T item); @Override void add(@Nonnull final T item); @Override void enableRequiresSelection(final boolean enable); @Override boolean requiresAutoSelection(); }
ListBoxSelectionModeSingle implements ListBoxSelectionMode<T> { @Override public void add(@Nonnull final T item) { selection = item; }  @Override void clear(); @Nonnull @Override List<T> getSelection(); @Override void remove(@Nonnull final T item); @Override void removeForced(@Nonnull final T item); @Override void add(@Nonnull final T item); @Override void enableRequiresSelection(final boolean enable); @Override boolean requiresAutoSelection();  }