@Override
    public <K, V> StroomCache<K, V> create(final String name,
                                           final Supplier<CacheConfig> cacheConfigSupplier,
                                           final BiConsumer<K, V> removalNotificationConsumer) {
        final StroomCache<K, V> cache = new StroomCacheImpl<>(
                name,
                cacheConfigSupplier,
                removalNotificationConsumer,
                metricsProvider);
        registerCache(name, cache);
        return cache;
    }
This is only for tests to save providing a {@link Metrics} instance
stroom-cache/stroom-cache-impl/src/main/java/stroom/cache/impl/CacheManagerImpl.java