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