### Question:
CircularObservableList extends ModifiableObservableListBase<E> { @Override public int size() { return wrapped.size(); } CircularObservableList(int maxCapacity); void setMaxCapacity(int maxCapacity); int getMaxCapacity(); @Override boolean addAll(int index, Collection<? extends E> c); @Override E get(int index); @Override int size();  }### Answer:
@Test public void add() { CircularObservableList<Integer> victim = new CircularObservableList<>(2); assertTrue(victim.add(1)); assertTrue(victim.add(2)); assertTrue(victim.add(3)); assertEquals(2, victim.size()); assertFalse(victim.contains(1)); }