### Question:
OrFileFilter implements FileFilter, ConditionalFileFilter, Serializable { @Override public boolean removeFileFilter(final FileFilter fileFilter) { return this.fileFilters.remove(fileFilter); } OrFileFilter();  OrFileFilter(final FileFilter... filters);  OrFileFilter(final List<FileFilter> fileFilters); @Override boolean accept(final FileSelectInfo fileInfo); @Override void addFileFilter(final FileFilter fileFilter); @Override List<FileFilter> getFileFilters(); @Override boolean removeFileFilter(final FileFilter fileFilter); @Override void setFileFilters(final List<FileFilter> fileFilters); @Override String toString();  }### Answer:
@Test public void testRemoveFileFilter() { final FileFilter filter1 = new DummyFilter(); final FileFilter filter2 = new DummyFilter(); final FileFilter filter3 = new DummyFilter(); final OrFileFilter testee = new OrFileFilter(filter1, filter2, filter3); testee.removeFileFilter(filter2); assertContainsOnly(testee.getFileFilters(), filter1, filter3); }