blob: 6d3464eea827367ae9b0adb05f4c26c49570b715 [file] [log] [blame]
#pragma once
#include "dbus/util.hpp"
#include <sdbusplus/bus.hpp>
#include <string>
#include <gmock/gmock.h>
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*));
};