@@ -175,7 +175,7 @@ class LoggingDecoratorTest : public ::testing::Test {
175175TEST_F (LoggingDecoratorTest, GetDatabaseSuccess) {
176176 google::test::admin::database::v1::Database database;
177177 database.set_name (" my_database" );
178- EXPECT_CALL (*mock_, GetDatabase (_, _) ).WillOnce (Return (database));
178+ EXPECT_CALL (*mock_, GetDatabase).WillOnce (Return (database));
179179
180180 GoldenThingAdminLogging stub (mock_, TracingOptions{}, {});
181181 grpc::ClientContext context;
@@ -189,7 +189,7 @@ TEST_F(LoggingDecoratorTest, GetDatabaseSuccess) {
189189}
190190
191191TEST_F (LoggingDecoratorTest, GetDatabase) {
192- EXPECT_CALL (*mock_, GetDatabase (_, _) ).WillOnce (Return (TransientError ()));
192+ EXPECT_CALL (*mock_, GetDatabase).WillOnce (Return (TransientError ()));
193193
194194 GoldenThingAdminLogging stub (mock_, TracingOptions{}, {});
195195 grpc::ClientContext context;
@@ -203,7 +203,7 @@ TEST_F(LoggingDecoratorTest, GetDatabase) {
203203}
204204
205205TEST_F (LoggingDecoratorTest, ListDatabases) {
206- EXPECT_CALL (*mock_, ListDatabases (_, _) ).WillOnce (Return (TransientError ()));
206+ EXPECT_CALL (*mock_, ListDatabases).WillOnce (Return (TransientError ()));
207207
208208 GoldenThingAdminLogging stub (mock_, TracingOptions{}, {});
209209 grpc::ClientContext context;
@@ -217,7 +217,7 @@ TEST_F(LoggingDecoratorTest, ListDatabases) {
217217}
218218
219219TEST_F (LoggingDecoratorTest, CreateDatabase) {
220- EXPECT_CALL (*mock_, CreateDatabase (_, _) ).WillOnce (Return (TransientError ()));
220+ EXPECT_CALL (*mock_, CreateDatabase).WillOnce (Return (TransientError ()));
221221
222222 GoldenThingAdminLogging stub (mock_, TracingOptions{}, {});
223223 grpc::ClientContext context;
@@ -231,8 +231,7 @@ TEST_F(LoggingDecoratorTest, CreateDatabase) {
231231}
232232
233233TEST_F (LoggingDecoratorTest, UpdateDatabaseDdl) {
234- EXPECT_CALL (*mock_, UpdateDatabaseDdl (_, _))
235- .WillOnce (Return (TransientError ()));
234+ EXPECT_CALL (*mock_, UpdateDatabaseDdl).WillOnce (Return (TransientError ()));
236235
237236 GoldenThingAdminLogging stub (mock_, TracingOptions{}, {});
238237 grpc::ClientContext context;
@@ -246,7 +245,7 @@ TEST_F(LoggingDecoratorTest, UpdateDatabaseDdl) {
246245}
247246
248247TEST_F (LoggingDecoratorTest, DropDatabase) {
249- EXPECT_CALL (*mock_, DropDatabase (_, _) ).WillOnce (Return (TransientError ()));
248+ EXPECT_CALL (*mock_, DropDatabase).WillOnce (Return (TransientError ()));
250249
251250 GoldenThingAdminLogging stub (mock_, TracingOptions{}, {});
252251 grpc::ClientContext context;
@@ -260,7 +259,7 @@ TEST_F(LoggingDecoratorTest, DropDatabase) {
260259}
261260
262261TEST_F (LoggingDecoratorTest, GetDatabaseDdl) {
263- EXPECT_CALL (*mock_, GetDatabaseDdl (_, _) ).WillOnce (Return (TransientError ()));
262+ EXPECT_CALL (*mock_, GetDatabaseDdl).WillOnce (Return (TransientError ()));
264263
265264 GoldenThingAdminLogging stub (mock_, TracingOptions{}, {});
266265 grpc::ClientContext context;
@@ -274,7 +273,7 @@ TEST_F(LoggingDecoratorTest, GetDatabaseDdl) {
274273}
275274
276275TEST_F (LoggingDecoratorTest, SetIamPolicy) {
277- EXPECT_CALL (*mock_, SetIamPolicy (_, _) ).WillOnce (Return (TransientError ()));
276+ EXPECT_CALL (*mock_, SetIamPolicy).WillOnce (Return (TransientError ()));
278277
279278 GoldenThingAdminLogging stub (mock_, TracingOptions{}, {});
280279 grpc::ClientContext context;
@@ -288,7 +287,7 @@ TEST_F(LoggingDecoratorTest, SetIamPolicy) {
288287}
289288
290289TEST_F (LoggingDecoratorTest, GetIamPolicy) {
291- EXPECT_CALL (*mock_, GetIamPolicy (_, _) ).WillOnce (Return (TransientError ()));
290+ EXPECT_CALL (*mock_, GetIamPolicy).WillOnce (Return (TransientError ()));
292291
293292 GoldenThingAdminLogging stub (mock_, TracingOptions{}, {});
294293 grpc::ClientContext context;
@@ -302,8 +301,7 @@ TEST_F(LoggingDecoratorTest, GetIamPolicy) {
302301}
303302
304303TEST_F (LoggingDecoratorTest, TestIamPermissions) {
305- EXPECT_CALL (*mock_, TestIamPermissions (_, _))
306- .WillOnce (Return (TransientError ()));
304+ EXPECT_CALL (*mock_, TestIamPermissions).WillOnce (Return (TransientError ()));
307305
308306 GoldenThingAdminLogging stub (mock_, TracingOptions{}, {});
309307 grpc::ClientContext context;
@@ -317,7 +315,7 @@ TEST_F(LoggingDecoratorTest, TestIamPermissions) {
317315}
318316
319317TEST_F (LoggingDecoratorTest, CreateBackup) {
320- EXPECT_CALL (*mock_, CreateBackup (_, _) ).WillOnce (Return (TransientError ()));
318+ EXPECT_CALL (*mock_, CreateBackup).WillOnce (Return (TransientError ()));
321319
322320 GoldenThingAdminLogging stub (mock_, TracingOptions{}, {});
323321 grpc::ClientContext context;
@@ -331,7 +329,7 @@ TEST_F(LoggingDecoratorTest, CreateBackup) {
331329}
332330
333331TEST_F (LoggingDecoratorTest, GetBackup) {
334- EXPECT_CALL (*mock_, GetBackup (_, _) ).WillOnce (Return (TransientError ()));
332+ EXPECT_CALL (*mock_, GetBackup).WillOnce (Return (TransientError ()));
335333
336334 GoldenThingAdminLogging stub (mock_, TracingOptions{}, {});
337335 grpc::ClientContext context;
@@ -345,7 +343,7 @@ TEST_F(LoggingDecoratorTest, GetBackup) {
345343}
346344
347345TEST_F (LoggingDecoratorTest, UpdateBackup) {
348- EXPECT_CALL (*mock_, UpdateBackup (_, _) ).WillOnce (Return (TransientError ()));
346+ EXPECT_CALL (*mock_, UpdateBackup).WillOnce (Return (TransientError ()));
349347
350348 GoldenThingAdminLogging stub (mock_, TracingOptions{}, {});
351349 grpc::ClientContext context;
@@ -359,7 +357,7 @@ TEST_F(LoggingDecoratorTest, UpdateBackup) {
359357}
360358
361359TEST_F (LoggingDecoratorTest, DeleteBackup) {
362- EXPECT_CALL (*mock_, DeleteBackup (_, _) ).WillOnce (Return (TransientError ()));
360+ EXPECT_CALL (*mock_, DeleteBackup).WillOnce (Return (TransientError ()));
363361
364362 GoldenThingAdminLogging stub (mock_, TracingOptions{}, {});
365363 grpc::ClientContext context;
@@ -373,7 +371,7 @@ TEST_F(LoggingDecoratorTest, DeleteBackup) {
373371}
374372
375373TEST_F (LoggingDecoratorTest, ListBackups) {
376- EXPECT_CALL (*mock_, ListBackups (_, _) ).WillOnce (Return (TransientError ()));
374+ EXPECT_CALL (*mock_, ListBackups).WillOnce (Return (TransientError ()));
377375
378376 GoldenThingAdminLogging stub (mock_, TracingOptions{}, {});
379377 grpc::ClientContext context;
@@ -387,7 +385,7 @@ TEST_F(LoggingDecoratorTest, ListBackups) {
387385}
388386
389387TEST_F (LoggingDecoratorTest, RestoreDatabase) {
390- EXPECT_CALL (*mock_, RestoreDatabase (_, _) ).WillOnce (Return (TransientError ()));
388+ EXPECT_CALL (*mock_, RestoreDatabase).WillOnce (Return (TransientError ()));
391389
392390 GoldenThingAdminLogging stub (mock_, TracingOptions{}, {});
393391 grpc::ClientContext context;
@@ -401,7 +399,7 @@ TEST_F(LoggingDecoratorTest, RestoreDatabase) {
401399}
402400
403401TEST_F (LoggingDecoratorTest, ListDatabaseOperations) {
404- EXPECT_CALL (*mock_, ListDatabaseOperations (_, _) )
402+ EXPECT_CALL (*mock_, ListDatabaseOperations)
405403 .WillOnce (Return (TransientError ()));
406404
407405 GoldenThingAdminLogging stub (mock_, TracingOptions{}, {});
@@ -417,8 +415,7 @@ TEST_F(LoggingDecoratorTest, ListDatabaseOperations) {
417415}
418416
419417TEST_F (LoggingDecoratorTest, ListBackupOperations) {
420- EXPECT_CALL (*mock_, ListBackupOperations (_, _))
421- .WillOnce (Return (TransientError ()));
418+ EXPECT_CALL (*mock_, ListBackupOperations).WillOnce (Return (TransientError ()));
422419
423420 GoldenThingAdminLogging stub (mock_, TracingOptions{}, {});
424421 grpc::ClientContext context;
@@ -433,7 +430,7 @@ TEST_F(LoggingDecoratorTest, ListBackupOperations) {
433430}
434431
435432TEST_F (LoggingDecoratorTest, GetOperation) {
436- EXPECT_CALL (*mock_, GetOperation (_, _) ).WillOnce (Return (TransientError ()));
433+ EXPECT_CALL (*mock_, GetOperation).WillOnce (Return (TransientError ()));
437434
438435 GoldenThingAdminLogging stub (mock_, TracingOptions{}, {});
439436 grpc::ClientContext context;
@@ -447,7 +444,7 @@ TEST_F(LoggingDecoratorTest, GetOperation) {
447444}
448445
449446TEST_F (LoggingDecoratorTest, CancelOperation) {
450- EXPECT_CALL (*mock_, CancelOperation (_, _) ).WillOnce (Return (TransientError ()));
447+ EXPECT_CALL (*mock_, CancelOperation).WillOnce (Return (TransientError ()));
451448
452449 GoldenThingAdminLogging stub (mock_, TracingOptions{}, {});
453450 grpc::ClientContext context;
0 commit comments