#pragma once #include "util.hpp" #include #include #include class DbusHelperMock : public DbusHelperInterface { public: virtual ~DbusHelperMock() = default; MOCK_METHOD3(getService, std::string(sdbusplus::bus::bus&, const std::string&, const std::string&)); MOCK_METHOD4(getProperties, void(sdbusplus::bus::bus&, const std::string&, const std::string&, struct SensorProperties*)); MOCK_METHOD3(thresholdsAsserted, bool(sdbusplus::bus::bus& bus, const std::string& service, const std::string& path)); };