@Test
public void getEmailSubject_testDefaultValueWith2Triggers() {

    Alert alert = notificationContext.getAlert();
    Trigger trigger2 = getTrigger(alert, TRIGGER_TYPE, TRIGGER_NAME2, TRIGGER_THRESHOLD2, TRIGGER_INERTIA_MILLIS);
    alert.setTriggers(Arrays.asList(notificationContext.getTrigger(), trigger2));
    String subjectTemplate = "[Argus] Notification for Alert: ${alert.name} Trigger:${trigger.name}";
    String expectedSubject = TemplateReplacer.applyTemplateChanges(notificationContext, subjectTemplate);
    String subject = emailNotifier.getEmailSubject(notificationContext);
    assertEquals(expectedSubject, subject);
}