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