public async Task PublishApprenticeshipStopDateChangedEvent_WithAStopDate_ShouldNotThrowException()
        {
            var fixtures = new V2EventsPublisherTestFixtures <ApprenticeshipStopDateChangedEvent>()
                           .WithStopDate();

            await fixtures.PublishApprenticeshipStopDateChanged();
        }
        public void PublishApprenticeshipStopDateChangedEvent_WithoutStopDateSet_ShouldThrowException()
        {
            var fixtures = new V2EventsPublisherTestFixtures <ApprenticeshipStopDateChangedEvent>();

            Assert.ThrowsAsync <InvalidOperationException>(() => fixtures.PublishApprenticeshipStopDateChanged());
        }