1#ifndef TENDUKE_TEST_MOCKS_URLPARSERMOCK_H
2#define TENDUKE_TEST_MOCKS_URLPARSERMOCK_H
4#include "net/URLParser.h"
6#include "gmock/gmock.h"
8namespace tenduke {
namespace test {
namespace mocks {
13 MOCK_METHOD(std::unique_ptr<::tenduke::net::URL>,
ptrFrom, (
const std::string &s), (
const,
override));
16 static std::shared_ptr<::tenduke::test::mocks::URLParserMock> createShared()
18 return std::make_shared<::tenduke::test::mocks::URLParserMock>();
A service to parse URLs from strings.
Definition URLParser.h:16
virtual::tenduke::net::URL from(const std::string &urlToParse) const =0
Parses URL from provided string.
virtual std::unique_ptr<::tenduke::net::URL > ptrFrom(const std::string &urlToParse) const =0
Parses URL from provided string.
Represents URL.
Definition URL.h:21
Definition URLParserMock.h:11
Root for classes, functions and globals of 10Duke C++ Client.
Definition AbstractClientFactory.h:16