1#ifndef TENDUKE_TEST_MOCKS_URLMOCK_H
2#define TENDUKE_TEST_MOCKS_URLMOCK_H
6#include "gmock/gmock.h"
8namespace tenduke {
namespace test {
namespace mocks {
13 MOCK_METHOD((std::multimap<std::string, std::string>),
getQueryParameters, (), (
const,
override));
14 MOCK_METHOD(std::string,
getPath, (), (
const,
override));
15 MOCK_METHOD(
void,
setPort, (std::uint16_t port), (
override));
16 MOCK_METHOD(std::string,
toString, (), (
const,
override));
Represents URL.
Definition URL.h:15
virtual void setPort(std::uint16_t port)=0
Sets port.
virtual std::string getPath() const =0
Returns path, URL-decoded.
virtual std::string toString() const =0
Returns the URL as string.
virtual std::multimap< std::string, std::string > getQueryParameters() const =0
Returns the query parameters, URL-decoded.
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4