proxygen
fizz::server::test::MockCookieCipher Class Reference

#include <Mocks.h>

Inheritance diagram for fizz::server::test::MockCookieCipher:
fizz::server::CookieCipher

Public Member Functions

 MOCK_CONST_METHOD1 (_decrypt, folly::Optional< CookieState >(Buf &))
 
folly::Optional< CookieStatedecrypt (Buf cookie) const override
 
- Public Member Functions inherited from fizz::server::CookieCipher
virtual ~CookieCipher ()=default
 

Detailed Description

Definition at line 127 of file Mocks.h.

Member Function Documentation

folly::Optional<CookieState> fizz::server::test::MockCookieCipher::decrypt ( Buf  cookie) const
inlineoverridevirtual

Implements fizz::server::CookieCipher.

Definition at line 130 of file Mocks.h.

130  {
131  return _decrypt(cookie);
132  }
StringPiece cookie
fizz::server::test::MockCookieCipher::MOCK_CONST_METHOD1 ( _decrypt  ,
folly::Optional< CookieState Buf & 
)

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