コード例 #1
0
        public void TestSouldInvalidateIEWhenNotBeginsWith12()
        {
            IEMaranhaoValidator ieWith11 = new IEMaranhaoValidator("110944020");

            Assert.IsFalse(ieWith11.IsValid());
        }
コード例 #2
0
        public void TestShouldInvalidateIEWithLessDigitsThanAllowed()
        {
            IEMaranhaoValidator ieWithInvalidSize = new IEMaranhaoValidator("1234567-8");

            Assert.IsFalse(ieWithInvalidSize.IsValid());
        }