public void WhenReattachThenNotThrows()
		{
			var cat = new Cat();
			using (var session = OpenSession())
			using (session.BeginTransaction())
			{
				session.Save(cat);
				session.Transaction.Commit();
			}

			using (var session = OpenSession())
			{
				session.Executing(x => x.Lock(cat, LockMode.None)).NotThrows();
			}

			using (var session = OpenSession())
			using (session.BeginTransaction())
			{
				session.Delete(cat);
				session.Transaction.Commit();
			}
		}
		public void WhenReattachThenNotThrows()
		{
			var cat = new Cat();
			using (var session = OpenSession())
			using (session.BeginTransaction())
			{
				session.Save(cat);
				session.Transaction.Commit();
			}

			using (var session = OpenSession())
			{
				Assert.That(() => session.Lock(cat, LockMode.None), Throws.Nothing);
			}

			using (var session = OpenSession())
			using (session.BeginTransaction())
			{
				session.Delete(cat);
				session.Transaction.Commit();
			}
		}