From e87559a29907fb1191a66502204cb146c80d8321 Mon Sep 17 00:00:00 2001 From: Scott Hart Date: Wed, 18 Dec 2024 14:36:25 -0500 Subject: [PATCH] add MoveObject to MockStorageStub --- google/cloud/storage/testing/mock_storage_stub.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/google/cloud/storage/testing/mock_storage_stub.h b/google/cloud/storage/testing/mock_storage_stub.h index b975e8a23dbae..10355ec77cab1 100644 --- a/google/cloud/storage/testing/mock_storage_stub.h +++ b/google/cloud/storage/testing/mock_storage_stub.h @@ -129,6 +129,10 @@ class MockStorageStub : public storage_internal::StorageStub { (grpc::ClientContext&, Options const&, google::storage::v2::QueryWriteStatusRequest const&), (override)); + MOCK_METHOD(StatusOr, MoveObject, + (grpc::ClientContext&, Options const&, + google::storage::v2::MoveObjectRequest const&), + (override)); MOCK_METHOD(future>, AsyncComposeObject, (google::cloud::CompletionQueue&, std::shared_ptr,