10Duke Scale C++ Client
Loading...
Searching...
No Matches
JWTParserMock.h
1#ifndef TENDUKE_TEST_MOCKS_JWTPARSERMOCK_H
2#define TENDUKE_TEST_MOCKS_JWTPARSERMOCK_H
3
4#include "jwt/JWTParser.h"
5#include "gmock/gmock.h"
6
7namespace tenduke { namespace test { namespace mocks {
8
10public:
11 MOCK_METHOD(tenduke::jwt::JWT, from, (const std::string &value), (const, override));
12
13 static std::shared_ptr<JWTParserMock> createShared()
14 {
15 return std::make_shared<JWTParserMock>();
16 }
17};
18
19}}}
20
21#endif //TENDUKE_TEST_MOCKS_JWTPARSERMOCK_H
Parses JWT.
Definition JWTParser.h:15
virtual JWT from(const std::string &value) const =0
Parses tenduke::jwt::JWT from given string.
Very simple JWT implementation.
Definition JWT.h:31
Definition JWTParserMock.h:9
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7