public void SetUp()
        {
            var configuration = NHibernateTestHelper.CreateTestConfiguration();
            NHibernateTestHelper.ExportSchema(configuration);

            sessionFactory = configuration.BuildSessionFactory();
            masterDB = new NHibernateMasterDB(sessionFactory);
        }
        public void SetUp()
        {
            Debug.WriteLine("Creating student database");

            var testConfiguration = NHibernateTestHelper.CreateStudentConfiguration();
            NHibernateTestHelper.ExportSchema(testConfiguration);

            sessionFactory = testConfiguration.BuildSessionFactory();
            var masterDB = new NHibernateMasterDB(sessionFactory);

            var trust = new AppTrustReader().ReadTrustRulesFrom(typeof(TestBO));
            var trustProcessor = new TrustProcessor(trust);
            kernel = new Kernel(masterDB, trustProcessor);
        }