diff options
Diffstat (limited to 'src/components/application_manager/test/commands/mobile/on_way_point_change_notification_test.cc')
-rw-r--r-- | src/components/application_manager/test/commands/mobile/on_way_point_change_notification_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/application_manager/test/commands/mobile/on_way_point_change_notification_test.cc b/src/components/application_manager/test/commands/mobile/on_way_point_change_notification_test.cc index b0dd3c142c..b6f18bf2fb 100644 --- a/src/components/application_manager/test/commands/mobile/on_way_point_change_notification_test.cc +++ b/src/components/application_manager/test/commands/mobile/on_way_point_change_notification_test.cc @@ -103,8 +103,8 @@ TEST_F(OnWayPointChangeNotificationTest, EXPECT_CALL(app_mngr_, GetAppsSubscribedForWayPoints()) .WillOnce(Return(apps_subscribed_for_way_points)); - - EXPECT_CALL(app_mngr_, SendMessageToMobile(CheckMessageData(), _)); + ON_CALL(app_mngr_, GetRPCService()).WillByDefault(ReturnRef(rpc_service_)); + EXPECT_CALL(rpc_service_, SendMessageToMobile(CheckMessageData(), _)); command_->Run(); } |