### Question:
ModelStatisticsConsolePlugin extends AbstractWebConsolePlugin { public URL getResource(String path) { URL url = null; String internalPath = substringAfter(path, "/" + getLabel()); if (startsWith(internalPath, "/static/")) { url = getClass().getResource("/META-INF/consoleplugin/modelstatistics" + internalPath); } return url; }  @SuppressWarnings("unused") String getCategory(); @Override String getLabel(); @Override String getTitle(); URL getResource(String path);  }### Answer:
@Test public void testRetrievalOfStaticJavascript() throws Exception { getResource("script.js"); assertResourceContains("function"); }