10Duke Scale C++ Client
Loading...
Searching...
No Matches
URLParserMock.h
1#ifndef TENDUKE_TEST_MOCKS_URLPARSERMOCK_H
2#define TENDUKE_TEST_MOCKS_URLPARSERMOCK_H
3
4#include "net/URLParser.h"
5
6#include "gmock/gmock.h"
7
8namespace tenduke { namespace test { namespace mocks {
9
11{
12public:
13 MOCK_METHOD(std::unique_ptr<tenduke::net::URL>, from, (const std::string &s), (const, override));
14};
15
16}}}
17
18#endif //TENDUKE_TEST_MOCKS_URLPARSERMOCK_H
A service to parse URLs from strings.
Definition URLParser.h:16
virtual std::unique_ptr< tenduke::net::URL > from(const std::string &urlToParse) const =0
Parses URL.
Definition URLParserMock.h:11
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7