@Override
    public boolean exists(final String name) {
        return caches.containsKey(name);
    }
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