proxygen
fizz::client::test::MockPskCache Class Reference

#include <Mocks.h>

Inheritance diagram for fizz::client::test::MockPskCache:
fizz::client::PskCache

Public Member Functions

 MOCK_METHOD1 (getPsk, folly::Optional< CachedPsk >(const std::string &identity))
 
 MOCK_METHOD2 (putPsk, void(const std::string &identity, CachedPsk))
 
 MOCK_METHOD1 (removePsk, void(const std::string &identity))
 
- Public Member Functions inherited from fizz::client::PskCache
virtual ~PskCache ()=default
 
virtual folly::Optional< CachedPskgetPsk (const std::string &identity)=0
 
virtual void putPsk (const std::string &identity, CachedPsk)=0
 
virtual void removePsk (const std::string &identity)=0
 

Detailed Description

Definition at line 109 of file Mocks.h.

Member Function Documentation

fizz::client::test::MockPskCache::MOCK_METHOD1 ( getPsk  ,
folly::Optional< CachedPsk const std::string &identity 
)
fizz::client::test::MockPskCache::MOCK_METHOD1 ( removePsk  ,
void(const std::string &identity)   
)
fizz::client::test::MockPskCache::MOCK_METHOD2 ( putPsk  ,
void(const std::string &identity, CachedPsk  
)

The documentation for this class was generated from the following file: