use of io.spine.server.bc.given.SecretProjectRepository in project core-java by SpineEventEngine.
the class BoundedContextTest method notExposeInvisibleAggregates.
@Test
@DisplayName("not expose invisible aggregates")
void notExposeInvisibleAggregates() {
ModelTests.dropAllModels();
context.register(new SecretProjectRepository());
assertThat(context.internalAccess().findRepository(SecretProject.class)).isEmpty();
}
Aggregations