@Test
public void testConvertProtoToDeletionTaskRecoveryInfo() throws Exception {

  long delTime = System.currentTimeMillis();
  List<Integer> successorTaskIds = Arrays.asList(1);
  DeletionTask deletionTask = mock(DeletionTask.class);
  DeletionTaskRecoveryInfo info =
      new DeletionTaskRecoveryInfo(deletionTask, successorTaskIds, delTime);
  assertEquals(deletionTask, info.getTask());
  assertEquals(successorTaskIds, info.getSuccessorTaskIds());
  assertEquals(delTime, info.getDeletionTimestamp());
}