### Question:
SequenceIdCollector { public void clear() { processedInterval.clear(); }  boolean contains(long sequenceId); boolean add(long sequenceId); int size(); void clear(); @Override String toString();  }### Answer:
@Test public void testClear() { assertTrue(sequenceIdCollector.add(10)); sequenceIdCollector.clear(); assertFalse(sequenceIdCollector.contains(10)); }