### Question:
MatchingResources { @Override public String toString() { StringBuilder sb = new StringBuilder(); for (Resource r : resources) { if (sb.length() > 0) sb.append('\n'); sb.append(getURL(r).toString()); } return sb.toString(); } MatchingResources(String sPattern); Resource[] getAllMatches(); URL[] getAllMatchesURL(); List<Class<?>> getAnnotatedMatches(Class<? extends Annotation> annotation,
		boolean includeSubclasses); List<Class<?>> getAnnotatedMatches(Class<? extends Annotation> annotation); Resource getSingleResource(); URL getSingleResourceURL(); Resource getSingleRequiredResource(); URL getSingleRequiredResourceURL(); URL getURL(Resource r); @Override String toString();  }### Answer:
@Test public void testToString() { MatchingResources mr = new MatchingResources("classpath*:org/wicketstuff/config/*.class"); assertTrue(mr.getAllMatches().length > 0); logger.info("URLs:\n" + mr); }