### Question:
WebResourceManagerImpl implements WebResourceManager { @Deprecated @SuppressWarnings("unchecked") public String getStaticPluginResourcePrefix(ModuleDescriptor moduleDescriptor, String resourceName) { return getStaticPluginResource(moduleDescriptor, resourceName); } WebResourceManagerImpl(PluginResourceLocator pluginResourceLocator, WebResourceIntegration webResourceIntegration);  WebResourceManagerImpl(PluginResourceLocator pluginResourceLocator, WebResourceIntegration webResourceIntegration, ResourceBatchingConfiguration batchingConfiguration);  WebResourceManagerImpl(PluginResourceLocator pluginResourceLocator, WebResourceIntegration webResourceIntegration,
                                  ResourceBatchingConfiguration batchingConfiguration, ResourceDependencyResolver dependencyResolver); void requireResource(String moduleCompleteKey); void requireResourcesForContext(String context); void includeResources(Writer writer); void includeResources(Iterable<String> moduleCompleteKeys, Writer writer, UrlMode urlMode); void includeResources(Writer writer, UrlMode urlMode); void includeResources(Writer writer, UrlMode urlMode, WebResourceFilter webResourceFilter); String getRequiredResources(); String getRequiredResources(UrlMode urlMode); String getRequiredResources(UrlMode urlMode, WebResourceFilter webResourceFilter); void requireResource(String moduleCompleteKey, Writer writer); void requireResource(String moduleCompleteKey, Writer writer, UrlMode urlMode); String getResourceTags(String moduleCompleteKey); String getResourceTags(String moduleCompleteKey, UrlMode urlMode); String getStaticResourcePrefix(); String getStaticResourcePrefix(UrlMode urlMode); String getStaticResourcePrefix(String resourceCounter); String getStaticResourcePrefix(String resourceCounter, UrlMode urlMode); String getStaticPluginResource(final String moduleCompleteKey, final String resourceName); String getStaticPluginResource(final String moduleCompleteKey, final String resourceName, final UrlMode urlMode); @SuppressWarnings("unchecked") String getStaticPluginResource(ModuleDescriptor moduleDescriptor, String resourceName); String getStaticPluginResource(ModuleDescriptor moduleDescriptor, String resourceName, UrlMode urlMode); @Deprecated @SuppressWarnings("unchecked") String getStaticPluginResourcePrefix(ModuleDescriptor moduleDescriptor, String resourceName); @Deprecated void setIncludeMode(final IncludeMode includeMode);  }### Answer:
@Test public void testGetStaticPluginResourcePrefix() { final String moduleKey = "confluence.extra.animal:animal"; final String resourceName = "foo.js"; final String expectedPrefix = setupGetStaticPluginResourcePrefix(false, moduleKey, resourceName); assertEquals(expectedPrefix, webResourceManager.getStaticPluginResource(moduleKey, resourceName)); }