# File lib/active_merchant/billing/integrations/world_pay/helper.rb, line 22
          def initialize(order, account, options = {})
            super
            
            if ActiveMerchant::Billing::Base.integration_mode == :test || options[:test]
              test_mode = case options[:test]
              when :always_fail
                101
              when false
                0
              else
                100
              end
              add_field('testMode', test_mode.to_s)
            elsif ActiveMerchant::Billing::Base.integration_mode == :always_succeed
              add_field('testMode', '100')
            elsif ActiveMerchant::Billing::Base.integration_mode == :always_fail
              add_field('testMode', '101')
            end
          end