protected override void OnSetUp() { var ent = new TheEntity { TheValue = "Hola", Id = id }; using (var s = OpenSession()) using (var tx = s.BeginTransaction()) { s.Save(ent); tx.Commit(); } }