Skip to content

Commit

Permalink
add MoveObject to MockStorageStub
Browse files Browse the repository at this point in the history
  • Loading branch information
scotthart committed Dec 18, 2024
1 parent 5e34b5f commit e87559a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions google/cloud/storage/testing/mock_storage_stub.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ class MockStorageStub : public storage_internal::StorageStub {
(grpc::ClientContext&, Options const&,
google::storage::v2::QueryWriteStatusRequest const&),
(override));
MOCK_METHOD(StatusOr<google::storage::v2::Object>, MoveObject,
(grpc::ClientContext&, Options const&,
google::storage::v2::MoveObjectRequest const&),
(override));
MOCK_METHOD(future<StatusOr<google::storage::v2::Object>>, AsyncComposeObject,
(google::cloud::CompletionQueue&,
std::shared_ptr<grpc::ClientContext>,
Expand Down

0 comments on commit e87559a

Please sign in to comment.