<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -16,6 +16,8 @@ module AbtainBilling #:nodoc:
         'forbrugsforeningen' =&gt; /^600722\d{10}$/,
         'laser'              =&gt; /^(6304|6706|6771|6709)\d{8}(\d{4}|\d{6,7})?$/
       }
+      
+      TEST_NUMBERS = %w[378282246310005 371449635398431 378734493671000 30569309025904 38520000023237 6011111111111117 6011000990]
     
       def self.included(base)
         base.extend(ClassMethods)
@@ -59,6 +61,16 @@ module AbtainBilling #:nodoc:
           CARD_COMPANIES
         end
         
+        # List of credit card numbers used for testing
+        def test_numbers
+          TEST_NUMBERS
+        end
+
+        # Returns true if the credit card matches one of our known test numbers
+        def is_test_number?(number)
+          test_numbers.include?(number)
+        end
+
         # Returns a string containing the type of card from the list of known information below.
         # Need to check the cards in a particular order, as there is some overlap of the allowable ranges
         #--</diff>
      <filename>lib/abtain_billing/billing/credit_card_methods.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f169627a5b9edd6c27f5b989c7e08b0a442502f3</id>
    </parent>
  </parents>
  <author>
    <name>Dan Quellhorst</name>
    <email>dan@abtain.com</email>
  </author>
  <url>http://github.com/quellhorst/abtain_billing/commit/5ebc3f6fac08d17b74239ce39cf6d678e1df7195</url>
  <id>5ebc3f6fac08d17b74239ce39cf6d678e1df7195</id>
  <committed-date>2009-11-06T08:54:40-08:00</committed-date>
  <authored-date>2009-11-06T08:41:19-08:00</authored-date>
  <message>added test number checking</message>
  <tree>162bcc31530fd41511a6e1933987b1ac4db56bfd</tree>
  <committer>
    <name>Dan Quellhorst</name>
    <email>dan@abtain.com</email>
  </committer>
</commit>
