### Question:
DirectMessageStreamNotificationFilter implements NotificationFilter { @Override public String getName() { return "Direct Message Stream Notification Filter"; }  @Override FilterPolicy filterEvent(Event event, DocumentReference user,
            Collection<NotificationFilterPreference> filterPreferences, NotificationFormat format); @Override boolean matchesPreference(NotificationPreference preference); @Override ExpressionNode filterExpression(DocumentReference user,
            Collection<NotificationFilterPreference> filterPreferences, NotificationPreference preference); @Override ExpressionNode filterExpression(DocumentReference user,
            Collection<NotificationFilterPreference> filterPreferences, NotificationFilterType type,
            NotificationFormat format); @Override String getName(); @Override int getPriority();  }### Answer:
@Test public void getName() throws Exception { assertEquals("Direct Message Stream Notification Filter", mocker.getComponentUnderTest().getName()); }