@Test
public void getEmailSubject_testDefaultValueWithOnly1Trigger1Notification() {

    String subjectTemplate = "[Argus] Notification for Alert: ${alert.name}";
    String expectedSubject = TemplateReplacer.applyTemplateChanges(notificationContext, subjectTemplate);
    String subject = emailNotifier.getEmailSubject(notificationContext);
    assertEquals(expectedSubject, subject);
    notificationContext.getNotification().setEmailSubject("  "); // whitespace should get "trimmed" and default subject should be returned
    subject = emailNotifier.getEmailSubject(notificationContext);
    assertEquals(expectedSubject, subject);
}