Пример #1
0
 public void CreateNHInitializer()
 {
     using (ISessionFactory sessionFactory = _helper.CreateMockSessionFactory())
     {
         Assert.That(sessionFactory, Is.Not.Null);
     }
 }
Пример #2
0
        public TestBase()
        {
            log4net.Config.XmlConfigurator.Configure();

            _helper         = new BuildConnectionHelper();
            _sessionFactory =
                _helper.CreateMockSessionFactory();
            //.InsertDataParusModel();
        }