EmailNotifier implements Notifier { @Override public NotificationType getNotificationType() { return NotificationType.EMAIL; }  @Override void initialize(NotificationConfig notificationConfig); @Override NotificationType getNotificationType(); @Override void notify(String subject, String message, String... emailAddrs); @Override void notifyAdmins(String subject, String message);  }
@Test public void testGetNotificationType() { EmailNotifier notifier = new EmailNotifier(); assertEquals(NotificationType.EMAIL, notifier.getNotificationType()); }