InMemoryRecordStorage extends RecordStorage<I> { StorageSpec<I> spec() { return spec; } InMemoryRecordStorage(StorageSpec<I> spec,
                          Class<? extends Entity<?, ?>> entityClass,
                          boolean multitenant); @Override Iterator<I> index(); @Override boolean delete(I id);  }
@Test @DisplayName("return storage spec") void returnStorageSpec() { StorageSpec spec = storage().spec(); assertEquals(ProjectId.class, spec.idClass()); }