Esempio n. 1
0
 /// <summary>
 /// Write the parse data into readable format
 /// </summary>
 public void EndSession()
 {
     try
     {
         string          path           = "..\\GeneratedFiles\\Output.csv";
         IToolDataWriter toolDataWriter = new ToolDataCsvWriter();
         toolDataWriter.Write(ToolsOutputData, path);
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
         throw new FileNotFoundException();
     }
 }
        public void Given_InvalidFile_When_WriteInvoked_Exptected_Exception()
        {
            ToolDataCsvWriter toolDataCsvWriter = new ToolDataCsvWriter();

            toolDataCsvWriter.Write("", "");
        }