AbortBackupStep extends BackupStep { @Override public void addToResults(InternalDistributedMember member, Set<PersistentID> persistentIds) { if (persistentIds != null) { getResults().put(member, persistentIds); } } AbortBackupStep(DistributionManager dm, InternalDistributedMember member,
      InternalCache cache, Set<InternalDistributedMember> recipients,
      AbortBackupFactory abortBackupFactory); @Override void addToResults(InternalDistributedMember member, Set<PersistentID> persistentIds);  }
@Test public void addToResultsWithNullShouldBeNoop() { abortBackupStep.addToResults(member1, null); assertThat(abortBackupStep.getResults()).isEmpty(); }
@Test public void addToResultsShouldShowUpInGetResults() { abortBackupStep.addToResults(member1, createPersistentIds()); assertThat(abortBackupStep.getResults()).containsOnlyKeys(member1); }