private Set<AlertTargetEntity> getMockTargets() throws Exception {
    AlertTargetEntity entity = new AlertTargetEntity();
    entity.setTargetId(ALERT_TARGET_ID);
    entity.setDescription(ALERT_TARGET_DESC);
    entity.setTargetName(ALERT_TARGET_NAME);
    entity.setNotificationType(ALERT_TARGET_TYPE);

    Set<AlertTargetEntity> targets = new HashSet<>();
    targets.add(entity);

    return targets;
  }
Gets some mock {@link AlertTargetEntity} instances.

@return
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AlertGroupResourceProviderTest.java