10Duke Scale C++ Client
Loading...
Searching...
No Matches
JSONElementMock.h
1#ifndef TENDUKE_TEST_MOCKS_JSONELEMENTMOCK_H
2#define TENDUKE_TEST_MOCKS_JSONELEMENTMOCK_H
3
4#include "json/JSONElement.h"
5#include "gmock/gmock.h"
6
7namespace tenduke { namespace test { namespace mocks {
8
10{
11public:
12 MOCK_METHOD(enum Type, getType, (), (const, override));
13 MOCK_METHOD(std::string, asString, (), (const, override));
14};
15
16}}}
17
18#endif //TENDUKE_TEST_MOCKS_JSONELEMENTMOCK_H
Superclass of JSON elements.
Definition JSONElement.h:12
virtual enum Type getType() const =0
Returns type of this element.
virtual std::string asString() const =0
Returns string representation of this element.
Type
Type of the element.
Definition JSONElement.h:17
Definition JSONElementMock.h:10
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7