blob: cdbc59dff3df7a8c1e9c18394014b54a81dc09fc [file] [log] [blame]
#pragma once
#include "dbus/dbushelper_interface.hpp"
#include "util.hpp"
#include <string>
#include <gmock/gmock.h>
namespace pid_control
{
class DbusHelperMock : public DbusHelperInterface
{
public:
virtual ~DbusHelperMock() = default;
MOCK_METHOD2(getService,
std::string(const std::string&, const std::string&));
MOCK_METHOD3(getProperties, void(const std::string&, const std::string&,
SensorProperties*));
MOCK_METHOD2(thresholdsAsserted,
bool(const std::string& service, const std::string& path));
};
} // namespace pid_control