public virtual void TestTypeHandler()
 {
     _typeHandler = new FieldsToTypeHandlerMigrationTestCase.ItemTypeHandler();
     Store(new FieldsToTypeHandlerMigrationTestCase.Item(42));
     AssertTypeHandlerCalls(1, 0);
     FieldsToTypeHandlerMigrationTestCase.Item item = RetrieveOnlyItemInstance();
     Assert.AreEqual(42, item._id);
     AssertTypeHandlerCalls(0, 1);
     UpdateItem();
     AssertTypeHandlerCalls(1, 1);
 }
		public virtual void TestTypeHandler()
		{
			_typeHandler = new FieldsToTypeHandlerMigrationTestCase.ItemTypeHandler();
			Store(new FieldsToTypeHandlerMigrationTestCase.Item(42));
			AssertTypeHandlerCalls(1, 0);
			FieldsToTypeHandlerMigrationTestCase.Item item = RetrieveOnlyItemInstance();
			Assert.AreEqual(42, item._id);
			AssertTypeHandlerCalls(0, 1);
			UpdateItem();
			AssertTypeHandlerCalls(1, 1);
		}