### Question:
ProgressResetProcessor { protected void resetOperationProgress(OperationProgress operationProgress) { operationProgress.setProcessingState(ProcessingState.WAITING); operationProgress.setProcessingStateMessage(WaitingStateMessage.PENDING.toString()); operationProgress.setResultPayload(RESET_OP_PAYLOAD); operationProgress.setDiagnosticEvents(new DiagnosticEvent[]{}); operationProgress.setPercentComplete(0d); }  ProgressResetResult resetProgress(Agenda agenda, AgendaProgress agendaProgress, Map<RerunAgendaParameter, String> retryParameters);  }### Answer:
@Test public void testOperationProgress() { OperationProgress operationProgress = new OperationProgress(); operationProgress.setProcessingState(ProcessingState.EXECUTING); operationProgress.setProcessingStateMessage(CompleteStateMessage.FAILED.toString()); progressResetProcessor.resetOperationProgress(operationProgress); Assert.assertEquals(operationProgress.getProcessingState(), ProcessingState.WAITING); Assert.assertEquals(operationProgress.getProcessingStateMessage(), WaitingStateMessage.PENDING.toString()); Assert.assertEquals(operationProgress.getResultPayload(), ProgressResetProcessor.RESET_OP_PAYLOAD); }