blob: 6150455fd789d75bb6c7b772af8f500c7f90e713 [file] [log] [blame]
#pragma once
#include "interfaces/metric.hpp"
#include <gmock/gmock.h>
class MetricMock : public interfaces::Metric
{
public:
MetricMock()
{
using namespace testing;
ON_CALL(*this, getReadings())
.WillByDefault(ReturnRefOfCopy(std::vector<MetricValue>()));
}
MOCK_METHOD(const std::vector<MetricValue>&, getReadings, (),
(const, override));
};