public void HexRecordNullOrEmptyValidationException()
        {
            Action<string> func = (record) =>
            {
                IHexRecordValidator validator = new HexRecordNullOrEmptyValidator();
                bool hasException = false;
                Exception expectedException = null;
                try
                {
                    validator.Validate(record);
                }
                catch (Exception ex)
                {
                    hasException = true;
                    expectedException = ex;
                }

                Assert.IsTrue(hasException);
                Assert.IsTrue(expectedException is ArgumentNullException);
            };

            func(string.Empty);
            func(null);
        }
        public void HexRecordNullOrEmptyValidation()
        {
            Action<string> func = (record) =>
            {
                IHexRecordValidator validator = new HexRecordNullOrEmptyValidator();
                validator.Validate(record);
            };

            func(":020000021000EC");
            func(":10C22000F04EF05FF06CF07DCA0050C2F086F097DF");
            func(":10C23000F04AF054BCF5204830592D02E018BB03F9");
            func(":020000020000FC");
            func(":04000000FA00000200");
            func(":00000001FF");
        }