public async Task nEventStreamUpdated_WhenSubscriptionWasStopped_Throws(
            StreamConsumingNotificationListenerStub listener,
            EventStreamUpdated notification,
            INotificationListenerSubscription subscription)
        {
            listener.OnSubscriptionStopped();

            await Assert.ThrowsAsync <InvalidOperationException>(() => listener.On(notification));
        }