public virtual void TestExceptionDuringTopLevelCall()
            {
                _unactivated = ((ExceptionDuringTopLevelCallTestSuite.ExceptionDuringTopLevelCallTestUnit.Item
                                 )RetrieveOnlyInstance(typeof(ExceptionDuringTopLevelCallTestSuite.ExceptionDuringTopLevelCallTestUnit.Item
                                                              )));
                Db().Deactivate(_unactivated);
                _storage.TriggerException(true);
                _idSystem.TriggerException(true);
                DatabaseContext context = new DatabaseContext(Db(), _unactivated);

                CurrentExceptionPropagationFixture().AssertExecute(context, CurrentOperationFixture
                                                                       ());
                if (context.StorageIsClosed())
                {
                    AssertIsNotLocked(FileSession().FileName());
                }
            }
		public virtual void AssertExecute(DatabaseContext context, TopLevelOperation op)
		{
			Assert.Expect(typeof(Db4oRecoverableException), new _ICodeBlock_23(op, context));
			Assert.IsFalse(context.StorageIsClosed());
		}
 public virtual void AssertExecute(DatabaseContext context, TopLevelOperation op)
 {
     Assert.Expect(typeof(OutOfMemoryException), new _ICodeBlock_21(op, context));
     Assert.IsFalse(context.StorageIsClosed());
 }
			public virtual void TestExceptionDuringTopLevelCall()
			{
				_unactivated = ((ExceptionDuringTopLevelCallTestSuite.ExceptionDuringTopLevelCallTestUnit.Item
					)RetrieveOnlyInstance(typeof(ExceptionDuringTopLevelCallTestSuite.ExceptionDuringTopLevelCallTestUnit.Item
					)));
				Db().Deactivate(_unactivated);
				_storage.TriggerException(true);
				_idSystem.TriggerException(true);
				DatabaseContext context = new DatabaseContext(Db(), _unactivated);
				CurrentExceptionPropagationFixture().AssertExecute(context, CurrentOperationFixture
					());
				if (context.StorageIsClosed())
				{
					AssertIsNotLocked(FileSession().FileName());
				}
			}
		public virtual void AssertExecute(DatabaseContext context, TopLevelOperation op)
		{
			Assert.Expect(ExceptionType(), new _ICodeBlock_16(op, context));
			Assert.IsTrue(context.StorageIsClosed());
		}
 public virtual void AssertExecute(DatabaseContext context, TopLevelOperation op)
 {
     Assert.Expect(ExceptionType(), new _ICodeBlock_16(op, context));
     Assert.IsTrue(context.StorageIsClosed());
 }