-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: or-1716 implement acm for correctie dubbels
- Loading branch information
Showing
3 changed files
with
97 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
...nRegistry.Test.Projections/Acm/Dubbels/Given_MarkeringDubbeleVerengingWerdGecorrigeerd.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
namespace AssociationRegistry.Test.Projections.Acm.Dubbels; | ||
|
||
[Collection(nameof(ProjectionContext))] | ||
public class Given_MarkeringDubbeleVerengingWerdGecorrigeerd( | ||
VerenigingenPerInszScenarioFixture<VerenigingAanvaarddeCorrectieDubbeleVerenigingScenario> fixture) | ||
: VerenigingenPerInszScenarioClassFixture<VerenigingAanvaarddeCorrectieDubbeleVerenigingScenario> | ||
{ | ||
[Fact] | ||
public void Then_Dubbele_Vereniging_Is_Gemarkeerd_Als_Dubbel() | ||
{ | ||
var dubbeleVereniging = | ||
fixture.Result.Verenigingen.Single(x => x.VCode == fixture.Scenario.DubbeleVerenigingWerdGeregistreerd.VCode); | ||
|
||
dubbeleVereniging.IsDubbel.Should().BeFalse(); | ||
} | ||
|
||
[Fact] | ||
public void Then_Authentieke_Vereniging_Has_CorresponderendeVCodes() | ||
{ | ||
var authentiekeVereniging = | ||
fixture.Result.Verenigingen.Single(x => x.VCode == fixture.Scenario.AuthentiekeVerenigingWerdGeregistreerd.VCode); | ||
|
||
authentiekeVereniging.CorresponderendeVCodes.Should().NotContain(fixture.Scenario.DubbeleVerenigingWerdGeregistreerd.VCode); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters