Exemple #1
0
 private void ThenTheProjectionBuildersForOurEventAreInvoked()
 {
     HandledEventTracker.CallCount(typeof(ProjectionBuilder1)).Should().Be(1);
     HandledEventTracker.CallCount(typeof(ProjectionBuilder2)).Should().Be(1);
 }
Exemple #2
0
 private void ThenTheProjectionBuildersForTheOtherEventsAreNotInvoked()
 {
     HandledEventTracker.CallCount(typeof(ProjectionBuilder3)).Should().Be(0);
     HandledEventTracker.CallCount(typeof(ProjectionBuilder4)).Should().Be(0);
 }