### Question:
ClasspathReader extends Reader { @Override public URL[] findResources() { URL[] result = null; if (classesToScan != null && !classesToScan.isEmpty()) { result = findResourcesByContextLoader(); } return result; } 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 testFindResources() { reader = new ClasspathReader(); URL[] urls = reader.findResources(); Assert.assertNull(urls); List<String> classesToScan = new ArrayList<String>(); classesToScan.add("com.impetus.kundera.PersonnelDTO"); classesToScan.add("com.impetus.kundera.query.Person"); reader = new ClasspathReader(classesToScan); urls = reader.findResources(); Assert.assertNotNull(urls); Assert.assertTrue(urls.length > 0); }