Пример #1
0
        public void CloseClosesTheTransportSender()
        {
            var transportSender = new ObservableTransportSenderMock();
            var sender          = new EventSender(transportSender, "dummy", new EventSenderOptions());

            sender.Close();

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