Example #1
0
        public void TestHbm()
        {
            using (var lifetime = IocConfig.Container.BeginLifetimeScope())
            {
#if DEBUG
                if (File.Exists("hbm.xml"))
                {
                    File.Delete("hbm.xml");
                }
                File.AppendAllText("hbm.xml", SessionFactoryProvider.BuildMappingsXml());
#endif

                Assert.IsTrue(2 + 2 == 2 * 2);
            }
        }