assertEquals(Optional.of(details1), getUpdateDetails(updateId1));
assertEquals(Optional.of(details2), getUpdateDetails(updateId2));
IJobUpdateEvent jEvent11 = makeJobUpdateEvent(ROLLING_FORWARD, 456L);
IJobUpdateEvent jEvent12 = makeJobUpdateEvent(ERROR, 457L);
IJobInstanceUpdateEvent iEvent11 = makeJobInstanceEvent(1, 451L, INSTANCE_UPDATED);
IJobInstanceUpdateEvent iEvent12 = makeJobInstanceEvent(2, 452L, INSTANCE_UPDATING);
IJobUpdateEvent jEvent21 = makeJobUpdateEvent(ROLL_FORWARD_PAUSED, 567L);
IJobUpdateEvent jEvent22 = makeJobUpdateEvent(ABORTED, 568L);
IJobInstanceUpdateEvent iEvent21 = makeJobInstanceEvent(3, 561L, INSTANCE_UPDATING);
IJobInstanceUpdateEvent iEvent22 = makeJobInstanceEvent(3, 562L, INSTANCE_UPDATED);
saveJobEvent(jEvent11, updateId1);
saveJobEvent(jEvent12, updateId1);
saveJobInstanceEvent(iEvent11, updateId1);
saveJobInstanceEvent(iEvent12, updateId1);