@Test @DisplayName("create new factory") void creation() { assertThat(InMemoryStorageFactory.newInstance()) .isNotSameInstanceAs(InMemoryStorageFactory.newInstance()); }
public static InMemoryStorageFactory newInstance() { return new InMemoryStorageFactory(); }
InMemoryStorageFactory implements StorageFactory { public static InMemoryStorageFactory newInstance() { return new InMemoryStorageFactory(); } }
InMemoryStorageFactory implements StorageFactory { public static InMemoryStorageFactory newInstance() { return new InMemoryStorageFactory(); } private  InMemoryStorageFactory(); }
InMemoryStorageFactory implements StorageFactory { public static InMemoryStorageFactory newInstance() { return new InMemoryStorageFactory(); } private  InMemoryStorageFactory(); static InMemoryStorageFactory newInstance(); @Override AggregateStorage<I> createAggregateStorage(ContextSpec context, Class<? extends Aggregate<I, ?, ?>> unused); @Override RecordStorage<I> createRecordStorage(ContextSpec context, Class<? extends Entity<I, ?>> entityClass); @Override ProjectionStorage<I> createProjectionStorage(ContextSpec context,
                            Class<? extends Projection<I, ?, ?>> projectionClass); @Override InboxStorage createInboxStorage(boolean multitenant); @Override CatchUpStorage createCatchUpStorage(boolean multitenant); @Override void close(); }
InMemoryStorageFactory implements StorageFactory { public static InMemoryStorageFactory newInstance() { return new InMemoryStorageFactory(); } private  InMemoryStorageFactory(); static InMemoryStorageFactory newInstance(); @Override AggregateStorage<I> createAggregateStorage(ContextSpec context, Class<? extends Aggregate<I, ?, ?>> unused); @Override RecordStorage<I> createRecordStorage(ContextSpec context, Class<? extends Entity<I, ?>> entityClass); @Override ProjectionStorage<I> createProjectionStorage(ContextSpec context,
                            Class<? extends Projection<I, ?, ?>> projectionClass); @Override InboxStorage createInboxStorage(boolean multitenant); @Override CatchUpStorage createCatchUpStorage(boolean multitenant); @Override void close();  }