### Question:
FilterList implements Filter<K, T> { public List<Filter<K, T>> getFilters() { return filters; } FilterList();  FilterList(final List<Filter<K, T>> rowFilters);  FilterList(final Operator operator);  FilterList(final Operator operator, final List<Filter<K, T>> rowFilters); List<Filter<K, T>> getFilters(); Operator getOperator(); void addFilter(Filter<K, T> filter); @Override void readFields(DataInput in); @Override void write(DataOutput out); @Override boolean filter(K key, T persistent);  }### Answer:
@Test public void testGetFilters() { filterList = new FilterList<>(Operator.MUST_PASS_ALL, fList); List<Filter<String, WebPage>> copyList = filterList.getFilters(); assertEquals(2, filterList.getFilters().size()); assertEquals(2, copyList.size()); }