public void TranslateRegimenFiscalTest()
        {
            string input = "601";

            var output = TranslateModelsToCatalogosCFDI.TranslateRegimenFiscal(input);

            Assert.AreEqual(cfdi33.c_RegimenFiscal.Item601, output);
        }
        public void TranslateRegimenFiscalInvalidTest()
        {
            string input = "Item601";

            try
            {
                var output = TranslateModelsToCatalogosCFDI.TranslateRegimenFiscal(input);
                Assert.Fail();
            }
            catch (InvalidCastException)
            {
                Assert.IsTrue(true);
            }
        }