### Question:
BasicDeleteTaskInfo extends BasicTaskInfo implements DeleteTaskInfo { @Override public String getPath() { return path; } BasicDeleteTaskInfo(PathKind pathKind, String path);  BasicDeleteTaskInfo(String moduleName, PathKind pathKind, String path); @Override String getModuleName(); @Override PathKind getPathKind(); @Override String getPath(); @Override String toString();  }### Answer:
@Test public void blockers() { BasicDeleteTaskInfo info = new BasicDeleteTaskInfo(PathKind.LOCAL_FILE_SYSTEM, "X"); info.addBlocker(new BasicDeleteTaskInfo(PathKind.LOCAL_FILE_SYSTEM, "A")); info.addBlocker(new BasicDeleteTaskInfo(PathKind.LOCAL_FILE_SYSTEM, "B")); info.addBlocker(new BasicDeleteTaskInfo(PathKind.LOCAL_FILE_SYSTEM, "C")); BasicDeleteTaskInfo restored = InfoSerDe.checkRestore(TaskInfo.class, info, EQ); assertThat(restored.getBlockers().stream() .map(it -> ((DeleteTaskInfo) it).getPath()) .collect(Collectors.toList()), containsInAnyOrder("A", "B", "C")); }