@Test void getSupportedEvents() { List<String> supportedEvents = this.displayer.getSupportedEvents(); assertEquals(1, supportedEvents.size()); Assertions.assertEquals(MentionEvent.EVENT_TYPE, supportedEvents.get(0)); }
@Override public List<String> getSupportedEvents() { return singletonList(MentionEvent.EVENT_TYPE); }
MentionsNotificationDisplayer implements NotificationDisplayer { @Override public List<String> getSupportedEvents() { return singletonList(MentionEvent.EVENT_TYPE); } }
MentionsNotificationDisplayer implements NotificationDisplayer { @Override public List<String> getSupportedEvents() { return singletonList(MentionEvent.EVENT_TYPE); }  }
MentionsNotificationDisplayer implements NotificationDisplayer { @Override public List<String> getSupportedEvents() { return singletonList(MentionEvent.EVENT_TYPE); }  @Override Block renderNotification(CompositeEvent compositeEvent); @Override List<String> getSupportedEvents(); }
MentionsNotificationDisplayer implements NotificationDisplayer { @Override public List<String> getSupportedEvents() { return singletonList(MentionEvent.EVENT_TYPE); }  @Override Block renderNotification(CompositeEvent compositeEvent); @Override List<String> getSupportedEvents();  }