@Test(expected = CodingException.class)
public void testReduplicateFailure() throws Exception {
DeduplicatedSnapshot corrupt = new DeduplicatedSnapshot()
.setPartialSnapshot(new Snapshot().setSchedulerMetadata(new SchedulerMetadata()))
.setPartialTasks(ImmutableList.of(
new DeduplicatedScheduledTask()
.setPartialScheduledTask(new ScheduledTask())
.setTaskConfigId(1)))
.setTaskConfigs(ImmutableList.of(new TaskConfig()));
snapshotDeduplicator.reduplicate(corrupt);