private List<AlertNoticeEntity> getSnmpMockNotices(String notificationType) {
    AlertDefinitionEntity definition = new AlertDefinitionEntity();
    definition.setDefinitionId(1L);
    definition.setDefinitionName("alert-definition-1");
    definition.setLabel("Alert Definition 1");

    AlertHistoryEntity history1 = new AlertHistoryEntity();
    history1.setAlertDefinition(definition);
    history1.setServiceName("HDFS");
    history1.setClusterId(1L);
    history1.setAlertLabel("Label");
    history1.setAlertState(AlertState.OK);
    history1.setAlertText(ALERT_UNIQUE_TEXT);
    history1.setAlertTimestamp(System.currentTimeMillis());

    AlertHistoryEntity history2 = new AlertHistoryEntity();
    history2.setAlertDefinition(definition);
    history2.setServiceName("HDFS");
    history2.setClusterId(1L);
    history2.setAlertLabel("Label");
    history2.setAlertState(AlertState.CRITICAL);
    history2.setAlertText(ALERT_UNIQUE_TEXT + " CRITICAL");
    history2.setAlertTimestamp(System.currentTimeMillis());

    AlertTargetEntity target = new AlertTargetEntity();
    target.setTargetId(1L);
    target.setAlertStates(EnumSet.allOf(AlertState.class));
    target.setTargetName("Alert Target");
    target.setDescription("Mock Target");
    target.setNotificationType(notificationType);

    String properties = "{ \"ambari.dispatch.snmp.version\": \"SNMPv1\", \"ambari.dispatch.snmp.port\": \"8000\"," +
                         " \"ambari.dispatch.recipients\": [\"127.0.0.1\"],\"ambari.dispatch.snmp.community\":\"\" }";
    target.setProperties(properties);

    AlertNoticeEntity notice1 = new AlertNoticeEntity();
    notice1.setUuid(ALERT_NOTICE_UUID_1);
    notice1.setAlertTarget(target);
    notice1.setAlertHistory(history1);
    notice1.setNotifyState(NotificationState.PENDING);

    AlertNoticeEntity notice2 = new AlertNoticeEntity();
    notice2.setUuid(ALERT_NOTICE_UUID_2);
    notice2.setAlertTarget(target);
    notice2.setAlertHistory(history2);
    notice2.setNotifyState(NotificationState.PENDING);

    ArrayList<AlertNoticeEntity> notices = new ArrayList<>();
    notices.add(notice1);
    notices.add(notice2);

    return notices;
  }
Gets 2 PENDING notices for SNMP or AMBARI_SNMP notificationType.

@return
ambari-server/src/test/java/org/apache/ambari/server/state/services/AlertNoticeDispatchServiceTest.java