use of io.spine.test.aggregate.command.AggStartProject in project core-java by SpineEventEngine.
the class AggregateMessageDeliveryTestEnv method cannotStartProject.
public static Rejection cannotStartProject() {
final ProjectId projectId = projectId();
final AggStartProject cmdMessage = AggStartProject.newBuilder().setProjectId(projectId).build();
final Command command = createCommand(cmdMessage);
final Rejection result = Rejections.toRejection(new io.spine.test.aggregate.rejection.AggCannotStartArchivedProject(projectId, Lists.<ProjectId>newArrayList()), command);
return result;
}
Aggregations