예제 #1
0
        public void ManualUnbindSessionDoNotCreateProblemsInARunningConversation()
        {
            NhConversation c = NewStartedConversation();

            ISession s = c.GetSession(sessions);

            c.Unbind(s);
            Assert.That(c.GetSession(sessions), Is.Null, "A session still bind after manual Unbind.");
            c.Resume();
            Assert.That(c.GetSession(sessions).IsOpen);
            c.End();
        }