protected override void OnSetUp() { base.OnSetUp(); using (ISession session = OpenSession()) { var entity = new DomainClass(); entity.Id = 1; entity.BooleanData = true; session.Save(entity); session.Flush(); } }