public SessionLifecycleHandlerBuilder ConfigureSessionCreator(RawSession session)
 {
     SessionCreator
     .Setup(c => c.CreateSession())
     .Returns(session);
     return(this);
 }