quotaManager.getQuotaInfo(ROLE));
}
@Test
public void testCheckQuotaUpdatingTasksFilteredOut() {
expectQuota(IResourceAggregate.build(new ResourceAggregate(5, 5, 5))).times(2);
expectTasks(createProdTask("foo", 2, 2, 2), createTask(JOB_NAME, "id2", 3, 3, 3, true, 0))
.times(2);
expectJobUpdates(taskConfig(1, 1, 1, true), taskConfig(2, 2, 2, true), 2);
expectNoCronJobs().times(2);