public void NotaFiscal_Aplicacao_ExportarPdf_DeveExportarPdfOk()
        {
            NotaFiscal nota    = ObjectMother.ObterNotaEmitidaValida();
            var        caminho = AppDomain.CurrentDomain.BaseDirectory + "\\..\\teste.pdf";

            nota.Emitir();

            Action action = () => notaFiscalServico.ExportarPdf(caminho, nota);

            action.Should().NotThrow();
        }
        public void NotaFiscal_InfraPdf_DeveGerarPDFComCnpjTransportadorOK()
        {
            nota = ObjectMother.ObterNotaEmitidaValida();
            nota.Transportador = ObjectMother.ObterTransportadorComCpfVazio();
            var caminho = AppDomain.CurrentDomain.BaseDirectory + "\\..\\teste.pdf";

            nota.Emitir();
            Action action = () => NotaFiscalPdf.Exportar(caminho, nota);

            action.Should().NotThrow();
        }