test_class.declarator: CONTEXT = ContextSpec.multitenant("foo")
test_class.modifier: private static final
test_class.original_string: private static final ContextSpec CONTEXT = ContextSpec.multitenant("foo");
test_class.type: ContextSpec
test_class.var_name: CONTEXT
test_class.file: server/src/test/java/io/spine/server/storage/system/SystemAwareStorageFactoryTest.java
test_class.identifier: SystemAwareStorageFactoryTest
test_case.body: @Test
      @DisplayName("wrap test storage")
      void wrapTestStorage() {
          ServerEnvironment serverEnv = ServerEnvironment.instance();
          StorageFactory testStorage = InMemoryStorageFactory.newInstance();
          serverEnv.use(testStorage, Tests.class);
          StorageFactory storageFactory = serverEnv.storageFactory();
          assertThat(storageFactory).isInstanceOf(SystemAwareStorageFactory.class);
          SystemAwareStorageFactory systemAware = (SystemAwareStorageFactory) storageFactory;
          assertThat(systemAware.delegate()).isEqualTo(testStorage);
      }
test_case.class_method_signature: SystemAwareStorageFactoryTest.wrapTestStorage()
test_case.full_signature: @Test @DisplayName("wrap test storage") void wrapTestStorage()
test_case.identifier: wrapTestStorage
test_case.invocations: instance newInstance use storageFactory isInstanceOf assertThat isEqualTo assertThat delegate
test_case.modifiers: @Test @DisplayName("wrap test storage")
test_case.parameters: ()
test_case.return: void
test_case.signature: void wrapTestStorage()
focal_class.declarator: delegate
focal_class.modifier: private final
focal_class.original_string: private final StorageFactory delegate;
focal_class.type: StorageFactory
focal_class.var_name: delegate
focal_class.file: server/src/main/java/io/spine/server/storage/system/SystemAwareStorageFactory.java
focal_class.identifier: SystemAwareStorageFactory
focal_class.interfaces: implements StorageFactory
focal_class.class_method_signature: SystemAwareStorageFactory.SystemAwareStorageFactory(StorageFactory delegate)
focal_class.full_signature: private  SystemAwareStorageFactory(StorageFactory delegate)
focal_class.identifier: SystemAwareStorageFactory
focal_class.modifiers: private
focal_class.parameters: (StorageFactory delegate)
focal_class.signature:  SystemAwareStorageFactory(StorageFactory delegate)
focal_class.class_method_signature: SystemAwareStorageFactory.wrap(StorageFactory factory)
focal_class.full_signature: public static SystemAwareStorageFactory wrap(StorageFactory factory)
focal_class.identifier: wrap
focal_class.modifiers: public static
focal_class.parameters: (StorageFactory factory)
focal_class.return: SystemAwareStorageFactory
focal_class.signature: SystemAwareStorageFactory wrap(StorageFactory factory)
focal_class.class_method_signature: SystemAwareStorageFactory.delegate()
focal_class.full_signature: @VisibleForTesting public StorageFactory delegate()
focal_class.identifier: delegate
focal_class.modifiers: @VisibleForTesting public
focal_class.parameters: ()
focal_class.return: StorageFactory
focal_class.signature: StorageFactory delegate()
focal_class.class_method_signature: SystemAwareStorageFactory.createAggregateStorage(ContextSpec context,
                             Class<? extends Aggregate<I, ?, ?>> aggregateClass)
focal_class.full_signature: @Override public AggregateStorage<I> createAggregateStorage(ContextSpec context,
                             Class<? extends Aggregate<I, ?, ?>> aggregateClass)
focal_class.identifier: createAggregateStorage
focal_class.modifiers: @Override public
focal_class.parameters: (ContextSpec context,
                             Class<? extends Aggregate<I, ?, ?>> aggregateClass)
focal_class.return: AggregateStorage<I>
focal_class.signature: AggregateStorage<I> createAggregateStorage(ContextSpec context,
                             Class<? extends Aggregate<I, ?, ?>> aggregateClass)
focal_class.class_method_signature: SystemAwareStorageFactory.createRecordStorage(ContextSpec context, Class<? extends Entity<I, ?>> entityClass)
focal_class.full_signature: @Override public RecordStorage<I> createRecordStorage(ContextSpec context, Class<? extends Entity<I, ?>> entityClass)
focal_class.identifier: createRecordStorage
focal_class.modifiers: @Override public
focal_class.parameters: (ContextSpec context, Class<? extends Entity<I, ?>> entityClass)
focal_class.return: RecordStorage<I>
focal_class.signature: RecordStorage<I> createRecordStorage(ContextSpec context, Class<? extends Entity<I, ?>> entityClass)
focal_class.class_method_signature: SystemAwareStorageFactory.createProjectionStorage(ContextSpec context,
                              Class<? extends Projection<I, ?, ?>> projectionClass)
focal_class.full_signature: @Override public ProjectionStorage<I> createProjectionStorage(ContextSpec context,
                              Class<? extends Projection<I, ?, ?>> projectionClass)
focal_class.identifier: createProjectionStorage
focal_class.modifiers: @Override public
focal_class.parameters: (ContextSpec context,
                              Class<? extends Projection<I, ?, ?>> projectionClass)
focal_class.return: ProjectionStorage<I>
focal_class.signature: ProjectionStorage<I> createProjectionStorage(ContextSpec context,
                              Class<? extends Projection<I, ?, ?>> projectionClass)
focal_class.class_method_signature: SystemAwareStorageFactory.createInboxStorage(boolean multitenant)
focal_class.full_signature: @Override public InboxStorage createInboxStorage(boolean multitenant)
focal_class.identifier: createInboxStorage
focal_class.modifiers: @Override public
focal_class.parameters: (boolean multitenant)
focal_class.return: InboxStorage
focal_class.signature: InboxStorage createInboxStorage(boolean multitenant)
focal_class.class_method_signature: SystemAwareStorageFactory.createCatchUpStorage(boolean multitenant)
focal_class.full_signature: @Override public CatchUpStorage createCatchUpStorage(boolean multitenant)
focal_class.identifier: createCatchUpStorage
focal_class.modifiers: @Override public
focal_class.parameters: (boolean multitenant)
focal_class.return: CatchUpStorage
focal_class.signature: CatchUpStorage createCatchUpStorage(boolean multitenant)
focal_class.class_method_signature: SystemAwareStorageFactory.createEventStore(ContextSpec context)
focal_class.full_signature: @Override public EventStore createEventStore(ContextSpec context)
focal_class.identifier: createEventStore
focal_class.modifiers: @Override public
focal_class.parameters: (ContextSpec context)
focal_class.return: EventStore
focal_class.signature: EventStore createEventStore(ContextSpec context)
focal_class.class_method_signature: SystemAwareStorageFactory.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_method.body: @VisibleForTesting
      public StorageFactory delegate() {
          return delegate;
      }
focal_method.class_method_signature: SystemAwareStorageFactory.delegate()
focal_method.full_signature: @VisibleForTesting public StorageFactory delegate()
focal_method.identifier: delegate
focal_method.modifiers: @VisibleForTesting public
focal_method.parameters: ()
focal_method.return: StorageFactory
focal_method.signature: StorageFactory delegate()