### Question:
SampleActionProcessor extends BaseJsonOperationProcessor<SampleInput, LaunchDataWrapper, OperationContext> { protected SampleJobInfo loadPriorProgress() { return operationContext.getLaunchDataWrapper().getLastOperationProgressParam(SampleJobInfo.PARAM_NAME, SampleJobInfo.class); } SampleActionProcessor(OperationContext operationContext); @Override Class<SampleInput> getPayloadClassType(); void performAction(SampleAction sampleAction, OperationProgressReporter reporter); void setLaunchDataWrapper(LaunchDataWrapper launchDataWrapper); void setOperationContext(OperationContext operationContext); void setJsonHelper(JsonHelper jsonHelper); void setActionMap(ActionMap actionMap);  }### Answer:
@Test public void testLoadPriorProgress() { doReturn(new SampleJobInfo(JOB_ID)).when(mockLaunchDataWrapper).getLastOperationProgressParam(anyString(), any(Class.class)); SampleJobInfo sampleJobInfo = sampleActionProcessor.loadPriorProgress(); Assert.assertEquals(sampleJobInfo.getJobId(), JOB_ID); }