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