# File lib/active_merchant/billing/gateways/bogus.rb, line 74
      def refund(money, reference, options = {})
        money = amount(money)
        case reference
        when '1'
          raise Error, REFUND_ERROR_MESSAGE
        when '2'
          Response.new(false, FAILURE_MESSAGE, {:paid_amount => money, :error => FAILURE_MESSAGE }, :test => true)
        else
          Response.new(true, SUCCESS_MESSAGE, {:paid_amount => money}, :test => true)
        end
      end