.repository(jobRepository)
.transactionManager(transactionManager)
.<String, String>chunk(3)
.reader(reader)
.processor(new PassThroughItemProcessor<String>())
.writer(new DummyItemWriter())
.listener(new AnnotationBasedStepExecutionListener());
builder.build().execute(execution);
assertEquals(BatchStatus.COMPLETED, execution.getStatus());
assertEquals(1, AnnotationBasedStepExecutionListener.beforeStepCount);