예제 #1
0
        public void CanDetectAsbCreditCard()
        {
            var asb = new AsbVisaCsvImportDetector();
            Assert.That(asb.Name, Is.EqualTo("ASB Visa"));

            Assert.That(asb.Matches(_asbVisaFilename), Is.True);
            Assert.That(asb.Matches(_asbFilename), Is.False);
            Assert.That(asb.Matches(_wpFilename), Is.False);
            Assert.That(asb.Matches(_wpVisaFilename), Is.False);
        }