public void TestAddFooBarByteNull()
        {
            ISession session = factory.OpenSession();

            ITransaction transaction = session.BeginTransaction();

            FooBar foo = new FooBar();

            session.Save(foo);
            transaction.Commit();
            session.Close();
        }
        public void TestAddFooBarGuidNotNull()
        {
            ISession session = factory.OpenSession();

            ITransaction transaction = session.BeginTransaction();

            FooBar foo = new FooBar();
            foo.TestGuid = new Guid(); ;

            session.Save(foo);
            transaction.Commit();
            session.Close();
        }
        public void TestAddFooBarDateTimeNotNull()
        {
            ISession session = factory.OpenSession();

            ITransaction transaction = session.BeginTransaction();

            FooBar foo = new FooBar();
            foo.TestDateTime = DateTime.Now;

            session.Save(foo);
            transaction.Commit();
            session.Close();
        }