blob: 87214d444799f84bf84d04447c1f30b5330c9030 [file] [log] [blame]
Manojkiran Edaacd6dd52019-10-15 15:00:51 +05301#pragma once
Ratan Gupta35297172018-11-28 18:40:16 +05302#include "network_manager.hpp"
3
4#include <gmock/gmock.h>
5
6namespace phosphor
7{
8namespace network
9{
10
William A. Kennington IIIdd9ef812022-10-05 02:08:02 -070011class MockManager : public Manager
Ratan Gupta35297172018-11-28 18:40:16 +053012{
13 public:
Patrick Williamsc38b0712022-07-22 19:26:54 -050014 MockManager(sdbusplus::bus_t& bus, const char* path,
Ratan Gupta35297172018-11-28 18:40:16 +053015 const std::string& dir) :
William A. Kennington IIIdd9ef812022-10-05 02:08:02 -070016 Manager(bus, path, dir)
Ratan Gupta35297172018-11-28 18:40:16 +053017 {
18 }
19
William A. Kennington III56ecc782021-10-07 18:44:50 -070020 MOCK_METHOD(void, reloadConfigs, (), (override));
William A. Kennington III5b179382022-11-15 15:23:26 -080021
22 using Manager::handleAdminState;
Ratan Gupta35297172018-11-28 18:40:16 +053023};
24
25} // namespace network
26} // namespace phosphor