use of io.spine.server.aggregate.given.AggregatePartTestEnv.TaskRepository in project core-java by SpineEventEngine.
the class AggregatePartShould method setUp.
@Before
public void setUp() {
ModelTests.clearModel();
boundedContext = BoundedContext.newBuilder().build();
root = new AnAggregateRoot(boundedContext, newUuid());
taskPart = new TaskPart(root);
prepareAggregatePart();
taskDescriptionPart = new TaskDescriptionPart(root);
taskRepository = new TaskRepository();
final TaskDescriptionRepository taskDescriptionRepository = new TaskDescriptionRepository();
boundedContext.register(taskRepository);
boundedContext.register(taskDescriptionRepository);
}
Aggregations