Example #1
0
        public void WhenMessageIsAccepted_ThisItIsAcknowledged()
        {
            var messageMock = new Mock <IMessage>();
            var testee      = new NoTransactionScope();

            testee.MessageAccepted(messageMock.Object);

            messageMock.Verify(m => m.Acknowledge());
        }
        public void WhenMessageIsAccepted_ThisItIsAcknowledged()
        {
            var messageMock = new Mock<IMessage>();
            var testee = new NoTransactionScope();

            testee.MessageAccepted(messageMock.Object);

            messageMock.Verify(m => m.Acknowledge());
        }