AbstractFilterResult implements FilterResult { @Override public FilterType getFilterType() { return filterType; } AbstractFilterResult(FilterType filterType, Status status); @Override FilterType getFilterType(); @Override boolean passed(); @Override boolean failed(); @Override boolean wasRun(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test public void testGetFilterType() { FilterType expResult = FilterType.FREQUENCY_FILTER; FilterResult instance = new PassFilterResult(expResult); FilterType result = instance.getFilterType(); assertThat(result, equalTo(expResult)); }