@Test
public void waitForRemoval_REPEATING() throws Exception {

  /*
   * ------------ input polling mode is CONTINUE SE has been removed within timeout
   */
  AbstractObservableLocalReader r = AbsSmartInsertionTheadedReaderTest.getMock(READER_NAME);
  WaitForSeRemoval waitForSeRemoval = new WaitForSeRemoval(r);
  doReturn(ObservableReader.PollingMode.REPEATING).when(r).getPollingMode();
  doNothing().when(r).processSeRemoved();
  /* test */
  waitForSeRemoval.onActivate();
  waitForSeRemoval.onEvent(AbstractObservableLocalReader.InternalEvent.SE_REMOVED);
  /* Assert */
  verify(r, times(1)).switchState(WAIT_FOR_SE_INSERTION);
}