Commit ad2a21fb authored by Subodh Iyengar's avatar Subodh Iyengar Committed by Facebook Github Bot

Add mock method for security protocol

Summary: as title

Reviewed By: Orvid

Differential Revision: D9568603

fbshipit-source-id: b5ce1ba8163af87f3ec6369407e3f8546e80afb1
parent a0011171
...@@ -68,6 +68,7 @@ class MockAsyncTransport : public AsyncTransportWrapper { ...@@ -68,6 +68,7 @@ class MockAsyncTransport : public AsyncTransportWrapper {
MOCK_METHOD1( MOCK_METHOD1(
setReplaySafetyCallback, setReplaySafetyCallback,
void(AsyncTransport::ReplaySafetyCallback*)); void(AsyncTransport::ReplaySafetyCallback*));
MOCK_CONST_METHOD0(getSecurityProtocol, std::string());
}; };
class MockReplaySafetyCallback : public AsyncTransport::ReplaySafetyCallback { class MockReplaySafetyCallback : public AsyncTransport::ReplaySafetyCallback {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment