public void TheAutoUnBindDefaultShouldBeTrue()
        {
            var           tc = new ThreadLocalConversationContainerStub();
            IConversation c  = new TestConversation();

            tc.Bind(c);
            c.End();
            Assert.That(tc.BindedConversationCount, Is.EqualTo(0));
            tc.Reset();
        }
        public void ShouldWorkWithAutoUnBindFalse()
        {
            var tc = new ThreadLocalConversationContainerStub {
                AutoUnbindAfterEndConversation = false
            };
            IConversation c = new TestConversation();

            tc.Bind(c);
            c.End();
            Assert.That(tc.BindedConversationCount, Is.EqualTo(1));
            tc.Reset();
        }