public void NotaFiscal_IntegracaoSistema_ExportarXml_DeveExportarOk()
        {
            NotaFiscal nota    = ObjectMother.ObterNotaValida();
            var        caminho = AppDomain.CurrentDomain.BaseDirectory + "\\..\\teste.xml";

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

            action.Should().NotThrow();
        }
        public void NotaFiscal_Aplicacao_ExportarXml_DeveRetornarExcessaoExportarXmlCaminhoVazio()
        {
            NotaFiscal nota    = ObjectMother.ObterNotaValida();
            var        caminho = "";

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

            action.Should().Throw <PathNullOrNotFound>();
        }