summaryrefslogtreecommitdiff
path: root/src/components/application_manager/test/commands/mobile/read_did_request_test.cc
diff options
context:
space:
mode:
authorIra Lytvynenko <ILytvynenko@luxoft.com>2017-11-30 18:25:34 +0200
committerIra Lytvynenko <ILytvynenko@luxoft.com>2017-11-30 19:02:13 +0200
commit56c9e9ab94f467524b0cf189d8859c2aae150ebe (patch)
tree864815a9a56c2e18721524da32f906a9b1297ef6 /src/components/application_manager/test/commands/mobile/read_did_request_test.cc
parent7806a8d50caa5081cf1686e465715b1296d3dfe4 (diff)
downloadsdl_core-56c9e9ab94f467524b0cf189d8859c2aae150ebe.tar.gz
Move mock_message_helper to the CommandsTest class
Move mock_message_helper to the base class of commands
Diffstat (limited to 'src/components/application_manager/test/commands/mobile/read_did_request_test.cc')
-rw-r--r--src/components/application_manager/test/commands/mobile/read_did_request_test.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/components/application_manager/test/commands/mobile/read_did_request_test.cc b/src/components/application_manager/test/commands/mobile/read_did_request_test.cc
index 72b79f2114..c88f4626f0 100644
--- a/src/components/application_manager/test/commands/mobile/read_did_request_test.cc
+++ b/src/components/application_manager/test/commands/mobile/read_did_request_test.cc
@@ -90,9 +90,6 @@ TEST_F(ReadDIDRequestTest, OnEvent_SUCCESS) {
event.set_smart_object(*event_msg);
- am::MockMessageHelper& mock_message_helper(
- *am::MockMessageHelper::message_helper_mock());
-
EXPECT_CALL(app_mngr_,
ManageMobileCommand(MobileResultCodeIs(mobile_response_code), _));
@@ -100,8 +97,6 @@ TEST_F(ReadDIDRequestTest, OnEvent_SUCCESS) {
EXPECT_CALL(app_mngr_, application(_)).WillRepeatedly(Return(app));
command->on_event(event);
-
- testing::Mock::VerifyAndClearExpectations(&mock_message_helper);
}
TEST_F(ReadDIDRequestTest, Run_AppNotRegistered_UNSUCCESS) {