예제 #1
0
        public void CloseClosesTheTransportReceiver()
        {
            var transportReceiver = new ObservableTransportReceiverMock();
            var receiver          = new EventReceiver(transportReceiver, "dummy", "0", new EventReceiverOptions());

            receiver.Close();

            Assert.That(transportReceiver.WasCloseCalled, Is.True);
        }