blob: df3efdf81fde706407f8f1881687218945a5f15a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#include "config.h"
#include "network_manager.hpp"
#include <gmock/gmock.h>
namespace phosphor
{
namespace network
{
class MockManager : public phosphor::network::Manager
{
public:
MockManager(sdbusplus::bus::bus& bus, const char* path,
const std::string& dir) :
phosphor::network::Manager(bus, path, dir)
{
}
MOCK_METHOD1(restartSystemdUnit, void(const std::string& service));
};
} // namespace network
} // namespace phosphor
|