blob: df3efdf81fde706407f8f1881687218945a5f15a [file] [log] [blame]
Ratan Gupta35297172018-11-28 18:40:16 +05301#include "config.h"
2
3#include "network_manager.hpp"
4
5#include <gmock/gmock.h>
6
7namespace phosphor
8{
9namespace network
10{
11
12class MockManager : public phosphor::network::Manager
13{
14 public:
15 MockManager(sdbusplus::bus::bus& bus, const char* path,
16 const std::string& dir) :
17 phosphor::network::Manager(bus, path, dir)
18 {
19 }
20
21 MOCK_METHOD1(restartSystemdUnit, void(const std::string& service));
Ratan Gupta35297172018-11-28 18:40:16 +053022};
23
24} // namespace network
25} // namespace phosphor