@Test
public void testUpdateRemovesInstance() throws Exception {
JobUpdateInstructions config = INSTRUCTIONS.newBuilder();
config.getDesiredState().setInstances(ImmutableSet.of(new Range(0, 1)));
Update update = factory.newUpdate(IJobUpdateInstructions.build(config), true);
assertEquals(ImmutableSet.of(0, 1, 2), update.getUpdater().getInstances());
}