Example usage for org.springframework.batch.test JobLauncherTestUtils setJob

List of usage examples for org.springframework.batch.test JobLauncherTestUtils setJob

Introduction

In this page you can find the example usage for org.springframework.batch.test JobLauncherTestUtils setJob.

Prototype

@Autowired
public void setJob(Job job) 

Source Link

Document

The Job instance that can be manipulated (e.g.

Usage

From source file:org.cbioportal.annotation.pipeline.TestConfiguration.java

@Bean
public JobLauncherTestUtils jobLauncherTestUtils() {
    JobLauncherTestUtils jobLauncherTestUtils = new JobLauncherTestUtils();
    jobLauncherTestUtils.setJob(annotationJob());
    return new JobLauncherTestUtils();
}