.setFrameworkId(frameworkId)
.setVersion(CURRENT_API_VERSION);
final String updateId1 = "updateId1";
final String updateId2 = "updateId2";
IJobUpdateDetails updateDetails1 = IJobUpdateDetails.build(new JobUpdateDetails()
.setUpdate(new JobUpdate().setSummary(new JobUpdateSummary().setUpdateId(updateId1)))
.setUpdateEvents(ImmutableList.of(new JobUpdateEvent().setStatus(JobUpdateStatus.ERROR)))
.setInstanceEvents(ImmutableList.of(new JobInstanceUpdateEvent().setTimestampMs(123L))));
IJobUpdateDetails updateDetails2 = IJobUpdateDetails.build(new JobUpdateDetails()
.setUpdate(new JobUpdate().setSummary(new JobUpdateSummary().setUpdateId(updateId2))));
storageUtil.expectOperations();
expect(storageUtil.taskStore.fetchTasks(Query.unscoped())).andReturn(tasks);
expect(storageUtil.quotaStore.fetchQuotas())
.andReturn(ImmutableMap.of("steve", ResourceAggregates.none()));