Index: examples/apptest/example_apptest.cc |
diff --git a/examples/apptest/example_apptest.cc b/examples/apptest/example_apptest.cc |
index 1f57fddb8774f347c61e1d44b6b9e7e6f55c0f54..3b760c5f919d3603948f6a15db72b09e8048e694 100644 |
--- a/examples/apptest/example_apptest.cc |
+++ b/examples/apptest/example_apptest.cc |
@@ -37,7 +37,7 @@ TEST_F(ExampleApplicationTest, PingServiceToPong) { |
uint16_t pong_value = 0u; |
example_service_->Ping(1u, |
[&pong_value](uint16_t value) { pong_value = value; }); |
- EXPECT_TRUE(example_service_.WaitForIncomingMethodCall()); |
+ EXPECT_TRUE(example_service_.WaitForIncomingResponse()); |
// Test making a call and receiving the reply. |
EXPECT_EQ(1u, pong_value); |
} |