public void TestStartForFileNotExisting()
        {
            //Arrange
            FileExporter import = new FileExporter(CreateModel(), _fileHandler);

            IFileInfo file = _fileHandler.FileSys.FileInfo.FromFileName(@"C:\NotExisting.txt");
            //Act
            Action a = () => import.Start(new ExportFile(file));

            //Assert
            Assert.Throws <FileNotFoundException>(a);
        }
        public void TestStartForZip()
        {
            //Arrange
            FileExporter import = new FileExporter(CreateModel(), _fileHandler);
            IFileInfo    file   = _fileHandler.FileSys.FileInfo.FromFileName(@"c:\NotfallImporter\Error\vmi_20190304121156_99998_0000798569_0170631125_0123456789.zip");

            //Act
            import.Start(new ExportFile(file));

            //Assert
            Assert.True(_fileHandler.FileSys.File.Exists(@"c:\NotfallImporter\Import\vmi_20190304121156_99998_0000798569_0170631125_0123456789.zip"));
            Assert.True(_fileHandler.FileSys.File.Exists(@"c:\NotfallImporter\Import\vmi_20190304121156_99998_0000798569_0170631125_0123456789.rdy"));
            Assert.True(_fileHandler.FileSys.File.Exists(@"c:\NotfallImporter\Import\vmi_20190304121156_99998_0000798569_0170631125_0123456789.idx"));
        }
        public void TestStartForEml()
        {
            //Arrange
            FileExporter import = new FileExporter(CreateModel(), _fileHandler);

            IFileInfo file = _fileHandler.FileSys.FileInfo.FromFileName(@"c:\NotfallImporter\Error\eml_20190220123417_99802_0000009200.eml");

            //Act
            import.Start(new ExportFile(file));

            //Assert
            Assert.True(_fileHandler.FileSys.File.Exists(@"c:\NotfallImporter\Import\eml_20190220123417_99802_0000009200.zip"));
            Assert.True(_fileHandler.FileSys.File.Exists(@"c:\NotfallImporter\Import\eml_20190220123417_99802_0000009200.idx"));
            Assert.True(_fileHandler.FileSys.File.Exists(@"c:\NotfallImporter\Import\eml_20190220123417_99802_0000009200.rdy"));
        }