assertEquals(1, getValue(RUNNING));
changeState(IScheduledTask.build(taskA.newBuilder().setStatus(RUNNING)), FINISHED);
assertEquals(0, getValue(RUNNING));
assertEquals(1, getValue(FINISHED));
assertEquals(0, getValue(rackStatName("rackA")));
vars.tasksDeleted(new TasksDeleted(ImmutableSet.of(
IScheduledTask.build(taskA.newBuilder().setStatus(FINISHED)))));
assertAllZero();
}