1 #pragma once 2 3 #include "dbus/dbushelper_interface.hpp" 4 5 #include <string> 6 7 #include <gmock/gmock.h> 8 namespace pid_control 9 { 10 11 class DbusHelperMock : public DbusHelperInterface 12 { 13 public: 14 ~DbusHelperMock() override = default; 15 16 MOCK_METHOD2(getService, 17 std::string(const std::string&, const std::string&)); 18 MOCK_METHOD3(getProperties, void(const std::string&, const std::string&, 19 SensorProperties*)); 20 21 MOCK_METHOD2(thresholdsAsserted, 22 bool(const std::string& service, const std::string& path)); 23 }; 24 25 } // namespace pid_control 26