@Test
public void testDecisionFlowWithExceptionInDecider() throws Throwable {
SimpleFlow flow = new JsrFlow("job");
JobExecutionDecider decider = new JobExecutionDecider() {
@Override
public FlowExecutionStatus decide(JobExecution jobExecution, StepExecution stepExecution) {
assertNotNull(stepExecution);
throw new RuntimeException("Foo");
}