### Question:
ClasspathReader extends Reader { public final void setFilter(Filter filter) { this.filter = filter; } ClasspathReader();  ClasspathReader(List<String> classesToScan); @Override final void read(); @SuppressWarnings("deprecation") @Override final URL[] findResourcesByClasspath(); @Override URL[] findResources(); final Filter getFilter(); final void setFilter(Filter filter); @Override InputStream[] findResourcesAsStream();  }### Answer:
@Test public void testSetFilter() { reader = new ClasspathReader(); reader.setFilter(filter); Assert.assertNotNull(reader.getFilter()); }