public void Copy_source_spreadsheet_to_debug_spreadsheet__Will_copy_real_spreadsheet_into_debug_spreadsheet() { // Arrange var debug_mode_switcher = new DebugModeSwitcher(new InputOutput()); string debug_file_path = Path.Combine(ReconConsts.Test_backup_file_path, ReconConsts.Backup_sub_folder, ReconConsts.Debug_spreadsheet_file_name); string source_file_path = Path.Combine(ReconConsts.Test_backup_file_path, ReconConsts.Main_spreadsheet_file_name); File.Delete(debug_file_path); Assert.IsFalse(File.Exists(debug_file_path)); // Act debug_mode_switcher.Copy_source_spreadsheet_to_debug_spreadsheet(ReconConsts.Test_backup_file_path, ReconConsts.Test_backup_file_path); // Assert // This test will fail on the Mac, so don't even bother. if (File.Exists(source_file_path)) { Assert.IsTrue(File.Exists(debug_file_path)); } }