public void TestInitialize()
 {
     _databasePath = $"{Guid.NewGuid()}.db";
     _storageUtils = new StorageTestUtils(_databasePath);
     Microsoft.AppCenter.Utils.Constants.AppCenterDatabasePath       = _databasePath;
     Microsoft.AppCenter.Utils.Constants.AppCenterFilesDirectoryPath = Environment.CurrentDirectory;
     _storage = new Microsoft.AppCenter.Storage.Storage();
     _storage.DeleteLogs(StorageTestChannelName);
     _storage.WaitOperationsAsync(TimeSpan.FromSeconds(10)).Wait();
 }
 public void TestInitialize()
 {
     Microsoft.AppCenter.Utils.Constants.AppCenterDatabasePath = DatabasePath;
     try
     {
         System.IO.File.Delete(DatabasePath);
     }
     catch
     {
         // Db file might not exist or might fail to be deleted.
     }
     _adapter      = new StorageAdapter();
     _storageUtils = new StorageTestUtils(DatabasePath);
 }