@Test
public void waitForProcessed_processed() throws Exception {

  /*
   * ------------ input polling mode is CONTINUE SE has been processed within timeout
   */
  doReturn(ObservableReader.PollingMode.REPEATING).when(r).getPollingMode();
  doReturn(false).when(r).waitForCardAbsentNative();
  /* test */
  waitForSeProcessing.onActivate();
  waitForSeProcessing.onEvent(AbstractObservableLocalReader.InternalEvent.SE_PROCESSED);
  /* Assert */
  // Assert.assertEquals(WAIT_FOR_START_DETECTION, r.getCurrentState().getMonitoringState());
  verify(r, times(1)).switchState(WAIT_FOR_SE_REMOVAL);
}