@Test
public void testFork() throws IOException {

    InputStream stream = TestDeciderService.class.getResourceAsStream("/test.json");
    Workflow workflow = objectMapper.readValue(stream, Workflow.class);
    DeciderOutcome outcome = deciderService.decide(workflow);
    assertFalse(outcome.isComplete);
    assertEquals(5, outcome.tasksToBeScheduled.size());
    assertEquals(1, outcome.tasksToBeUpdated.size());
}