use of io.spine.server.projection.given.ProjectionRepositoryTestEnv.SensoryDeprivedProjectionRepository in project core-java by SpineEventEngine.
the class ProjectionRepositoryShould method throw_exception_on_attempt_to_register_in_bc_with_no_messages_handled.
@Test(expected = IllegalStateException.class)
public void throw_exception_on_attempt_to_register_in_bc_with_no_messages_handled() {
final SensoryDeprivedProjectionRepository repo = new SensoryDeprivedProjectionRepository();
final BoundedContext boundedContext = BoundedContext.newBuilder().setMultitenant(false).build();
repo.setBoundedContext(boundedContext);
repo.onRegistered();
}
Aggregations