예제 #1
0
        public void cleanup_cleans_transactions_too()
        {
            var channel            = Substitute.For <ITcpChannel>();
            var transactionManager = Substitute.For <ITransactionManager>();

            var sut = new StompClient(channel, transactionManager);

            sut.Cleanup();

            transactionManager.Received().Cleanup();
        }