### Question:
CacheResourcesManager { public boolean canUseCache(String url) { return isUseCache() && URIUtils.isRemoteResource(url); } CacheResourcesManager();  CacheResourcesManager(Cache<String, Boolean> cache); Path getResource(final String resourceURI); static Path getResourceCachePath(String resourceURI); static Path getResourceCachePath(URI uri); static Path getResourceCachePath(ResourceToDeploy resource); boolean canUseCache(String url); void setUseCache(boolean useCache); boolean isUseCache();  }### Answer:
@Test public void testCanUseCache() { testCanUseCache(true); testCanUseCache(false); }