diff options
Diffstat (limited to 'src/components/include/test/protocol_handler/mock_protocol_handler.h')
-rw-r--r-- | src/components/include/test/protocol_handler/mock_protocol_handler.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/include/test/protocol_handler/mock_protocol_handler.h b/src/components/include/test/protocol_handler/mock_protocol_handler.h index 4468914a26..772b63b582 100644 --- a/src/components/include/test/protocol_handler/mock_protocol_handler.h +++ b/src/components/include/test/protocol_handler/mock_protocol_handler.h @@ -44,8 +44,9 @@ namespace protocol_handler_test { class MockProtocolHandler : public ::protocol_handler::ProtocolHandler { public: - MOCK_METHOD2(SendMessageToMobileApp, + MOCK_METHOD3(SendMessageToMobileApp, void(const ::protocol_handler::RawMessagePtr message, + bool needs_encryption, bool final_message)); MOCK_METHOD1(AddProtocolObserver, void(::protocol_handler::ProtocolObserver* observer)); @@ -67,6 +68,7 @@ class MockProtocolHandler : public ::protocol_handler::ProtocolHandler { void(const ::protocol_handler::SessionContext& context, std::vector<std::string>& rejected_params)); MOCK_METHOD0(NotifyOnFailedHandshake, void()); + MOCK_CONST_METHOD1(IsRPCServiceSecure, bool(const uint32_t connection_key)); }; } // namespace protocol_handler_test } // namespace components |