@Test public void testResetAgendaProgress() { AgendaProgress agendaProgress = new AgendaProgress(); agendaProgress.setProcessingState(ProcessingState.EXECUTING); agendaProgress.setProcessingStateMessage(CompleteStateMessage.FAILED.toString()); progressResetProcessor.resetAgendaProgress(agendaProgress); Assert.assertEquals(agendaProgress.getProcessingState(), ProcessingState.WAITING); Assert.assertEquals(agendaProgress.getProcessingStateMessage(), WaitingStateMessage.PENDING.toString()); }
protected void resetAgendaProgress(AgendaProgress agendaProgress) { agendaProgress.setProcessingState(ProcessingState.WAITING); agendaProgress.setProcessingStateMessage(WaitingStateMessage.PENDING.toString()); }
ProgressResetProcessor { protected void resetAgendaProgress(AgendaProgress agendaProgress) { agendaProgress.setProcessingState(ProcessingState.WAITING); agendaProgress.setProcessingStateMessage(WaitingStateMessage.PENDING.toString()); } }
ProgressResetProcessor { protected void resetAgendaProgress(AgendaProgress agendaProgress) { agendaProgress.setProcessingState(ProcessingState.WAITING); agendaProgress.setProcessingStateMessage(WaitingStateMessage.PENDING.toString()); }  }
ProgressResetProcessor { protected void resetAgendaProgress(AgendaProgress agendaProgress) { agendaProgress.setProcessingState(ProcessingState.WAITING); agendaProgress.setProcessingStateMessage(WaitingStateMessage.PENDING.toString()); }  ProgressResetResult resetProgress(Agenda agenda, AgendaProgress agendaProgress, Map<RerunAgendaParameter, String> retryParameters); }
ProgressResetProcessor { protected void resetAgendaProgress(AgendaProgress agendaProgress) { agendaProgress.setProcessingState(ProcessingState.WAITING); agendaProgress.setProcessingStateMessage(WaitingStateMessage.PENDING.toString()); }  ProgressResetResult resetProgress(Agenda agenda, AgendaProgress agendaProgress, Map<RerunAgendaParameter, String> retryParameters);  }