private void checkExistingEntriesDoesntTriggerErrorOnSave() {
   List<AwardApprovedEquipment> items = award.getApprovedEquipmentItems();
   for (AwardApprovedEquipment item : items) {
     Assert.assertTrue(approvedEquipmentRule.isUnique(items, item));
   }
 }
 private void checkEditingItemResultingInDuplicate(AwardApprovedEquipment equipmentItem2) {
   equipmentItem2.setItem(WIDGET1);
   Assert.assertFalse(
       approvedEquipmentRule.isUnique(award.getApprovedEquipmentItems(), equipmentItem2));
 }
 private void checkAddingDuplicateToCollection() {
   AwardApprovedEquipment item1Duplicate = createEquipmentItem(VENDOR, MODEL, WIDGET1, AMOUNT1);
   Assert.assertFalse(
       approvedEquipmentRule.isUnique(award.getApprovedEquipmentItems(), item1Duplicate));
 }