use of io.spine.server.bc.given.BoundedContextTestEnv.SecretProjectRepository in project core-java by SpineEventEngine.
the class BoundedContextShould method do_not_expose_invisible_aggregate.
@Test
public void do_not_expose_invisible_aggregate() {
ModelTests.clearModel();
boundedContext.register(new SecretProjectRepository());
assertFalse(boundedContext.findRepository(SecretProject.class).isPresent());
}
Aggregations