blob: 23dd81c80752427ab91a27e16aef8cdff9fdadb8 [file] [log] [blame]
Patrick Venture0df7c0f2018-06-13 09:02:13 -07001#pragma once
2
3#include <gmock/gmock.h>
4#include <sdbusplus/bus.hpp>
5#include <string>
6
7#include "dbus/util.hpp"
8
9class DbusHelperMock : public DbusHelperInterface
10{
11 public:
12 virtual ~DbusHelperMock() = default;
13
14 MOCK_METHOD3(GetService, std::string(sdbusplus::bus::bus&,
15 const std::string&,
16 const std::string&));
17 MOCK_METHOD4(GetProperties, void(sdbusplus::bus::bus&,
18 const std::string&,
19 const std::string&,
20 struct SensorProperties*));
21};