public void TestTransactionStatelessUsingDetachedCriteria() { RootService service = container.Resolve <RootService>(); string blogName = "Delicious Food!"; var blogA = service.CreateBlogStatelessUsingDetachedCriteria(blogName); Assert.IsNotNull(blogA); var blogB = service.FindBlogStatelessUsingDetachedCriteria(blogName); Assert.IsNotNull(blogB); Assert.AreEqual(blogA.Name, blogB.Name); }