15 #ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_MOCKS_MOCK_DATABASE_ADMIN_CONNECTION_H
16 #define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_MOCKS_MOCK_DATABASE_ADMIN_CONNECTION_H
18 #include "google/cloud/spanner/database_admin_connection.h"
19 #include "google/cloud/spanner/version.h"
20 #include <gmock/gmock.h>
38 MOCK_METHOD(
future<StatusOr<
google::spanner::admin::database::v1::Database>>,
40 MOCK_METHOD(StatusOr<
google::spanner::admin::database::v1::Database>,
43 StatusOr<
google::spanner::admin::database::v1::GetDatabaseDdlResponse>,
47 google::spanner::admin::database::v1::UpdateDatabaseDdlMetadata>>,
52 MOCK_METHOD(
future<StatusOr<
google::spanner::admin::database::v1::Database>>,
54 MOCK_METHOD(StatusOr<
google::iam::v1::Policy>, GetIamPolicy,
56 MOCK_METHOD(StatusOr<
google::iam::v1::Policy>, SetIamPolicy,
58 MOCK_METHOD(StatusOr<
google::iam::v1::TestIamPermissionsResponse>,
60 MOCK_METHOD(
future<StatusOr<
google::spanner::admin::database::v1::Backup>>,
62 MOCK_METHOD(StatusOr<
google::spanner::admin::database::v1::Backup>, GetBackup,
67 MOCK_METHOD(StatusOr<
google::spanner::admin::database::v1::Backup>,
69 MOCK_METHOD(
spanner::ListBackupOperationsRange, ListBackupOperations,
71 MOCK_METHOD(
spanner::ListDatabaseOperationsRange, ListDatabaseOperations,