public void TranslateFormaPagoTest()
        {
            bool   specifiedField = false;
            string input          = "01";
            var    output         = TranslateModelsToCatalogosCFDI.TranslateFormaPago(input, ref specifiedField);

            Assert.AreEqual(true, specifiedField);
            Assert.AreEqual(cfdi33.c_FormaPago.Item01, output);
        }
        public void TranslateFormaPagoNullTest()
        {
            bool   specifiedField = false;
            string input          = null;

            try
            {
                var output = TranslateModelsToCatalogosCFDI.TranslateFormaPago(input, ref specifiedField);
                Assert.AreEqual(false, specifiedField);
            }
            catch (InvalidCastException)
            {
                Assert.Fail();
            }
        }
        public void TranslateFormaPagoInvalidTest()
        {
            string input          = "8888888888";
            var    specifiedField = false;

            try
            {
                var output = TranslateModelsToCatalogosCFDI.TranslateFormaPago(input, ref specifiedField);
                Assert.Fail();
            }
            catch (InvalidCastException)
            {
                Assert.IsTrue(true);
            }
        }