### Question:
DefaultWebResourceFilter implements WebResourceFilter { public boolean matches(String resourceName) { return JavascriptWebResource.FORMATTER.matches(resourceName) || CssWebResource.FORMATTER.matches(resourceName); }  boolean matches(String resourceName); static final DefaultWebResourceFilter INSTANCE; }### Answer:
@Test public void testMatches() { assertTrue(DefaultWebResourceFilter.INSTANCE.matches("foo.css")); assertTrue(DefaultWebResourceFilter.INSTANCE.matches("foo.js")); assertFalse(DefaultWebResourceFilter.INSTANCE.matches("foo.html")); }