7374757677787980
private static final long TIMEOUT = 10000L; @Before public void setup() { MockitoAnnotations.initMocks(this); parameterConverter = new JobParametersConverterSupport(); jsrJobOperator = new JsrJobOperator(jobExplorer, jobRepository, parameterConverter); }
49505152535455
execution.setLastUpdated(new Date(12345)); execution.setStartTime(new Date(98765)); execution.setStatus(BatchStatus.FAILED); execution.setVersion(21); adapter = new JsrJobExecution(execution, new JobParametersConverterSupport()); }
54555657585960
adapter = new JsrJobExecution(execution, new JobParametersConverterSupport()); } @Test(expected=IllegalArgumentException.class) public void testCreateWithNull() { adapter = new JsrJobExecution(null, new JobParametersConverterSupport()); }