public void GetAllDatabases_GetsAllDatabases()
 {
     var databaseManager = new SqlServerDatabaseManager(connectionStringBuilder.ConnectionString, true);
       var createdDatabases = new List<SqlServerDatabase>();
       for (int i = 0; i < 10; i++) {
     createdDatabases.Add(createRandomDatabase(databaseManager));
       }
       IEnumerable<SqlServerDatabase> databases = databaseManager.GetAllDatabases();
       Assert.IsTrue(databases.Any());
       deleteAllDatabases();
 }
 private void deleteAllDatabases()
 {
     var databaseManager = new SqlServerDatabaseManager(connectionStringBuilder.ConnectionString, true);
       foreach (SqlServerDatabase database in databaseManager.GetAllDatabases()) {
     databaseManager.DeleteDatabase(database.Name);
       }
 }