| Patrick Venture | 0df7c0f | 2018-06-13 09:02:13 -0700 | [diff] [blame] | 1 | #pragma once | 
|  | 2 |  | 
| Patrick Venture | da4a5dd | 2018-08-31 09:42:48 -0700 | [diff] [blame] | 3 | #include "dbus/util.hpp" | 
|  | 4 |  | 
| Patrick Venture | 0df7c0f | 2018-06-13 09:02:13 -0700 | [diff] [blame] | 5 | #include <sdbusplus/bus.hpp> | 
|  | 6 | #include <string> | 
|  | 7 |  | 
| Patrick Venture | da4a5dd | 2018-08-31 09:42:48 -0700 | [diff] [blame] | 8 | #include <gmock/gmock.h> | 
| Patrick Venture | 0df7c0f | 2018-06-13 09:02:13 -0700 | [diff] [blame] | 9 |  | 
|  | 10 | class DbusHelperMock : public DbusHelperInterface | 
|  | 11 | { | 
| Patrick Venture | da4a5dd | 2018-08-31 09:42:48 -0700 | [diff] [blame] | 12 | public: | 
|  | 13 | virtual ~DbusHelperMock() = default; | 
| Patrick Venture | 0df7c0f | 2018-06-13 09:02:13 -0700 | [diff] [blame] | 14 |  | 
| Patrick Venture | da4a5dd | 2018-08-31 09:42:48 -0700 | [diff] [blame] | 15 | MOCK_METHOD3(GetService, | 
|  | 16 | std::string(sdbusplus::bus::bus&, const std::string&, | 
|  | 17 | const std::string&)); | 
|  | 18 | MOCK_METHOD4(GetProperties, | 
|  | 19 | void(sdbusplus::bus::bus&, const std::string&, | 
|  | 20 | const std::string&, struct SensorProperties*)); | 
| Patrick Venture | 0df7c0f | 2018-06-13 09:02:13 -0700 | [diff] [blame] | 21 | }; |