SpecificationCacheDefault { public T getByObjectType(final ObjectSpecId objectSpecID) { val className = classNameBySpecId.get(objectSpecID); return className != null ? specByClassName.get(className) : null; }  T get(String className); T computeIfAbsent(
            String className, 
            Function<? super String, T> mappingFunction); void clear(); Collection<T> snapshotSpecs(); Class<?> resolveType(final ObjectSpecId objectSpecID); T getByObjectType(final ObjectSpecId objectSpecID); T remove(String typeName); void recache(T spec);  }
@Test public void getByObjectType_whenNotSet() { assertNull(specificationCache.getByObjectType(ObjectSpecId.of("CUS"))); }