@Test
  public void testCheckForDuplicateUnits_DupeFound() {
    piPerson.add(new AwardPersonUnit(piPerson, unitA, false));
    Assert.assertFalse(
        "Duplicate should have been found", rule.checkForDuplicateUnits(award.getProjectPersons()));

    checkErrorState(
        AwardProjectPersonsSaveRule.AWARD_PROJECT_PERSON_LIST_ERROR_KEY,
        AwardProjectPersonsSaveRule.ERROR_AWARD_PROJECT_PERSON_DUPLICATE_UNITS);
  }
 @Test
 public void testCheckForDuplicateUnits_NoneFound() {
   piPerson.add(new AwardPersonUnit(piPerson, unitB, false));
   Assert.assertTrue(rule.checkForDuplicateUnits(award.getProjectPersons()));
 }