/** * Test method for * {@link SimpleStepHandler#handleStep(org.springframework.batch.core.Step, org.springframework.batch.core.JobExecution)} * . */ @Test public void testHandleStep() throws Exception { StepExecution stepExecution = stepHandler.handleStep(new StubStep("step"), jobExecution); assertEquals(BatchStatus.COMPLETED, stepExecution.getStatus()); }