databaseCreateParameters.setEdition(expectedEdition);
databaseCreateParameters.setMaximumDatabaseSizeInGB(expectedMaxSizeInGB);
DatabaseCreateResponse databaseCreateResponse = databaseOperations.create(serverName, databaseCreateParameters);
String databaseName = databaseCreateResponse.getDatabase().getName();
databaseToBeRemoved.put(databaseName, serverName);
DatabaseUpdateParameters databaseUpdateParameters = new DatabaseUpdateParameters();
databaseUpdateParameters.setName(expectedDatabaseName);
databaseUpdateParameters.setMaximumDatabaseSizeInGB(updatedMaxSizeInGB);
databaseUpdateParameters.setEdition(updatedEdition);
DatabaseUpdateResponse databaseUpdateResponse = databaseOperations.update(serverName, expectedDatabaseName, databaseUpdateParameters);
// assert
assertEquals(updatedMaxSizeInGB, databaseUpdateResponse.getDatabase().getMaximumDatabaseSizeInGB());
assertEquals(updatedEdition, databaseUpdateResponse.getDatabase().getEdition());