BasicTimelineFilter implements TimelineFilter { boolean containsMatchingScreenName(String screenName) { final String name = normalizeHandle(screenName); return handleConstraints.contains(name); } BasicTimelineFilter(FilterValues filterValues);  BasicTimelineFilter(FilterValues filterValues, Locale locale); @Override List<Tweet> filter(List<Tweet> tweets); @Override int totalFilters();  }
@Test public void testContainsMatchingScreenName_withNoMatch() { assertFalse(basicTimelineFilter.containsMatchingScreenName("FooBar")); }
@Test public void testContainsMatchingScreenName_withMatch() { assertTrue(basicTimelineFilter.containsMatchingScreenName("EricFrohnhoefer")); }