public void TranslateMetodoPagoTest()
        {
            string input          = "PUE";
            bool   specifiedField = false;
            var    output         = TranslateModelsToCatalogosCFDI.TranslateMetodoPago(input, ref specifiedField);

            Assert.AreEqual(true, specifiedField);
            Assert.AreEqual(cfdi33.c_MetodoPago.PUE, output);
        }
        public void TranslateMetodoPagoNull()
        {
            string input          = null;
            bool   specifiedField = false;

            try
            {
                var output = TranslateModelsToCatalogosCFDI.TranslateMetodoPago(input, ref specifiedField);
                Assert.AreEqual(false, specifiedField);
            }
            catch (InvalidCastException)
            {
                Assert.IsTrue(true);
            }
        }
        public void TranslateMetodoPagoInvalidTest()
        {
            string input          = "8888888888";
            bool   specifiedField = false;

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