def METHOD_NAME(self):
    """Test that the migrations have been applied correctly"""
    StockItem = self.new_state.apps.get_model('stock', 'stockitem')
    # Check that the serial number integer conversion has been applied correctly
    for sn in range(10, 20):
        item = StockItem.objects.get(serial_int=sn)
        self.assertEqual(item.serial, str(sn))
    big_ref_item = StockItem.objects.get(pk=self.big_ref_pk)
    # Check that the StockItem maximum serial number
    self.assertEqual(big_ref_item.serial, '9999999999999999999999999999999999999999999999999999999999999')
    self.assertEqual(big_ref_item.serial_int, 0x7fffffff)