15 #ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_MOCKS_MOCK_INSTANCE_ADMIN_CONNECTION_H
16 #define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_MOCKS_MOCK_INSTANCE_ADMIN_CONNECTION_H
18 #include "google/cloud/spanner/instance_admin_connection.h"
19 #include "google/cloud/spanner/version.h"
20 #include <gmock/gmock.h>
37 MOCK_METHOD(StatusOr<
google::spanner::admin::instance::v1::Instance>,
39 MOCK_METHOD(
future<StatusOr<
google::spanner::admin::instance::v1::Instance>>,
41 MOCK_METHOD(
future<StatusOr<
google::spanner::admin::instance::v1::Instance>>,
44 MOCK_METHOD(StatusOr<
google::spanner::admin::instance::v1::InstanceConfig>,
46 MOCK_METHOD(
spanner::ListInstanceConfigsRange, ListInstanceConfigs,
50 MOCK_METHOD(StatusOr<
google::iam::v1::Policy>, GetIamPolicy,
52 MOCK_METHOD(StatusOr<
google::iam::v1::Policy>, SetIamPolicy,
54 MOCK_METHOD(StatusOr<
google::iam::v1::TestIamPermissionsResponse>,