예제 #1
0
 public void TestIfSourceFolderDoesNotExist()
 {
     try
     {
         DataBackupOperations.GetBackUp(invalidFolderPath, destinationPath, selectedDate);
     }
     catch (Exception ex)
     {
         Assert.Fail(ex.Message);
     }
 }
예제 #2
0
 public void CopyFilesAsPerDateProvided()
 {
     try
     {
         DataBackupOperations.GetBackUp(sourcePath, destinationPath, selectedDate);
     }
     catch (Exception ex)
     {
         Assert.Fail(ex.Message);
     }
 }