public void SaveBlog_Test() { var database = new BlogsManager(); database.Truncate(); var blog = new Blog {Name = "Test Blog"}; var initialCount = database.Count(); try { TransactionHelper.Begin(() => database.Save(blog)); } catch (Exception ex) { Console.WriteLine(ex.Message); } var finalCount = database.Count(); Assert.That(finalCount == ++initialCount); }