1 #pragma once 2 3 #include <gmock/gmock.h> 4 #include <sdbusplus/bus.hpp> 5 #include <string> 6 7 #include "dbus/util.hpp" 8 9 class 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 }; 22