RepositoryCachingProvider implements CachingProvider { @Override public boolean isSupported(OptionalFeature optionalFeature) { return (optionalFeature == STORE_BY_REFERENCE); }  @Override ClassLoader getDefaultClassLoader(); @Override URI getDefaultURI(); @Override Properties getDefaultProperties(); @Override CacheManager getCacheManager(); @Override CacheManager getCacheManager(URI uri, ClassLoader classLoader); @Override CacheManager getCacheManager(URI uri, ClassLoader classLoader, Properties properties); @Override void close(); @Override void close(ClassLoader classLoader); @Override void close(URI uri, ClassLoader classLoader); @Override boolean isSupported(OptionalFeature optionalFeature);  }
@Test public void isSupportedTest() { assertTrue(repositoryCachingProvider.isSupported(OptionalFeature.STORE_BY_REFERENCE)); assertFalse(repositoryCachingProvider.isSupported(null)); }