public void when_stopping_without_starting_then_throws()
        {
            var receiver = new SubscriptionReceiver(this.Settings, this.Topic, this.Subscription);

            Assert.Throws <InvalidOperationException>(() => receiver.Stop());
        }
Beispiel #2
0
        public void when_stopping_without_starting_then_ignores_request()
        {
            var receiver = new SubscriptionReceiver(Settings, Topic, Subscription);

            receiver.Stop();
        }