public void DeactivateConversation_GivenAConversation_SetsItAsNotActive()
        {
            var conversationManager = new NHibernateConversationManager(validsessionFactoryManager);
            var conversation1 = conversationManager.BeginConversation();
            conversationManager.DeactivateConversation(conversation1);

            Assert.IsFalse(conversation1.IsActive);
        }
 public void DeactivateConversation_GivenANullConversation_ThrowsArgumentNullException()
 {
     var sut = new NHibernateConversationManager(validsessionFactoryManager);
     Assert.Throws<ArgumentNullException>(() => sut.DeactivateConversation(null));
 }