### Question:
SuperBatchPluginResource implements DownloadableResource, BatchResource, PluginResource { public static boolean matches(String path) { String type = getType(path); return path.indexOf(URL_PREFIX) != -1 && endsWith(path, DEFAULT_RESOURCE_NAME_PREFIX, ".", type); } SuperBatchPluginResource(String type, Map<String, String> params); protected  SuperBatchPluginResource(String resourceName, String type, Map<String, String> params); static boolean matches(String path); static SuperBatchPluginResource createBatchFor(PluginResource pluginResource); static SuperBatchPluginResource parse(String path, Map<String, String> params); boolean isResourceModified(HttpServletRequest request, HttpServletResponse response); void serveResource(HttpServletRequest request, HttpServletResponse response); void streamResource(OutputStream out); String getContentType(); void add(DownloadableResource downloadableResource); boolean isEmpty(); String getUrl(); Map<String, String> getParams(); String getVersion(WebResourceIntegration integration); String getType(); boolean isCacheSupported(); String getResourceName(); String getModuleCompleteKey(); @Override String toString();  }### Answer:
@Test public void testNotSuperbatches() { assertFalse("wrong path", SuperBatchPluginResource.matches("/download/superbitch/css/batch.css")); assertFalse("wrong path", SuperBatchPluginResource.matches("/download/superbatch/css/images/foo.png")); }
@Test public void testParseWithContextPath() { assertTrue(SuperBatchPluginResource.matches("/confluence/download/superbatch/css/batch.css")); }