Optional.of(message))).andReturn(true);
control.replay();
SchedulerMessage schedulerMessage =
SchedulerMessage.deletedTasks(new DeletedTasks(ImmutableSet.of("task1", "task2")));
byte[] data = ThriftBinaryCodec.encode(schedulerMessage);
scheduler.frameworkMessage(driver, EXECUTOR_ID, SLAVE_ID, data);
}