Failing unit tests for the Registration aggregate root: a submission starts in INGEDIEND carrying its bsn, an empty/whitespace/null bsn is rejected, the started process-instance id is remembered, and attaching the zaak the ACL opened records its URL idempotently (a conflicting URL is rejected) while the status stays INGEDIEND. The aggregate is a stub (no-op mutators, empty bsn) so the tests compile and fail on their assertions; the green commit implements the invariants. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
11 lines
423 B
C#
11 lines
423 B
C#
namespace Big.Domain;
|
|
|
|
/// <summary>The lifecycle states a <see cref="Registration"/> moves through. The walking
|
|
/// skeleton knows only <see cref="Ingediend"/>; withdrawal, beoordeling and herregistratie
|
|
/// states arrive in their own slices (Iteration 2+).</summary>
|
|
public enum RegistrationStatus
|
|
{
|
|
/// <summary>Submitted by the zorgprofessional; the registratie process has been started.</summary>
|
|
Ingediend,
|
|
}
|