SerialAsyncEventQueueImpl extends AbstractGatewaySender { @Override public void startWithCleanQueue() { this.start(true); } SerialAsyncEventQueueImpl(InternalCache cache, StatisticsFactory statisticsFactory,
      StatisticsClock statisticsClock, GatewaySenderAttributes attrs); @Override void start(); @Override void startWithCleanQueue(); @Override void stop(); @Override String toString(); @Override void fillInProfile(Profile profile); @Override void setModifiedEventId(EntryEventImpl clonedEvent);  }
@Test public void whenStartedwithCleanShouldCreateEventProcessor() { serialAsyncEventQueue = createSerialAsyncEventQueueImplSpy(); serialAsyncEventQueue.startWithCleanQueue(); assertThat(serialAsyncEventQueue.getEventProcessor()).isEqualTo(eventProcessor2); }