### Question:
TagNotificationFilter implements NotificationFilter { @Override public boolean matchesPreference(NotificationPreference preference) { return false; }  @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(); static final String NAME; }### Answer:
@Test public void matchesPreference() { assertFalse(tagNotificationFilter.matchesPreference(null)); }